[ERROR] Index exceeds array dimensions. Index value 0 exceeds valid range [1-8] of array states. How to correct the code and solve this problem?
5 views (last 30 days)
Show older comments
I'm doing model predictive control in simulink, while running I'm getting [ERROR] Index exceeds array dimensions. Index value 0 exceeds valid range [1-8] of array states. How to solve this problem ? or why this error occurs ?

Answers (0)
See Also
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!