index exceeds array bound
35 ビュー (過去 30 日間)
古いコメントを表示
Please help to rectify the error . It shows index exceed array bound.
0 件のコメント
回答 (1 件)
SACHIN KHANDELWAL
2024 年 12 月 6 日
The "index exceeds array bounds" error in Simulink typically occurs when you attempt to access an element of an array or matrix using an index that is outside the valid range.
x = [1:10]
x(11)
I suggest analyzing the model to check if you are accessing an element that is out of range. When I simulate the model, it does not produce any errors for me. If you still face issue, please share the reproduction steps for further analysis.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!