Index in position 1 exceeds array bounds (must not exceed 89).

2 views (last 30 days)
Good day. I am trying to run the attached wind farm power system but am getting the error message: "Index in position 1 exceeds array bounds. Index must not exceed 89." I have gone through every block making sure that their values correspond. How do I solve this problem?
  2 Comments
Walter Roberson
Walter Roberson on 19 Dec 2024
By invoking "Mask Parameters" --> Apps --> Measurements and States Analyzer
we get the more complete error message,
However, I have not yet been able to figure out how to find MaskParameterCallback for the powergui block.
Sreeram
Sreeram on 20 Dec 2024
A MathWorks staff member has responded to a similar error message in the following thread:

Sign in to comment.

Answers (1)

Sreeram
Sreeram on 20 Dec 2024
Edited: Sreeram on 20 Dec 2024
I issued a
dbstop if 'caught error'
before simulating. It looks like the error is thrown from an internal function and it looks like a bug to me.
I would recommend reporting this to the MathWorks Technical Support through this link:

Categories

Find more on Holidays / Seasons in Help Center and File Exchange

Tags

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!