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!