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

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

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.
A MathWorks staff member has responded to a similar error message in the following thread:

Sign in to comment.

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 Holidays / Seasons in Help Center and File Exchange

Products

Release

R2024b

Tags

Asked:

on 19 Dec 2024

Edited:

on 20 Dec 2024

Community Treasure Hunt

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

Start Hunting!