index exceeds array bound
조회 수: 52 (최근 30일)
이전 댓글 표시
Please help to rectify the error . It shows index exceed array bound.
댓글 수: 0
답변 (1개)
SACHIN KHANDELWAL
2024년 12월 6일 10:17
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에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!