Index in position 1 exceeds array bounds (must not exceed 89).
Show older comments
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
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
on 20 Dec 2024
A MathWorks staff member has responded to a similar error message in the following thread:
Answers (1)
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 Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!