Why does my MATLAB Function block throw "index expression out of bounds" errors?
이전 댓글 표시
When using MATLAB Function blocks, if I try to access certain elements of the input parameter, I receive an error message similar to the following:
ERROR: Index expression out of bounds. Attempted to access element 2. The valid range is 1-1.
This is unexpected since I know that the input parameter is a vector, even though the error message states that it is a scalar.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!