subscript mismatch
2 ビュー (過去 30 日間)
古いコメントを表示
am calling multiple functions, feeding 3D matrix. one of the functions returns subscript mismatch. "matrix dimension subscript mismatch" solution probably seems obvious to all but me. thanks for any help!
2 件のコメント
回答 (2 件)
Jan
2011 年 6 月 6 日
Obi Wan is not logged in currently.
Use:
dbstop if all error
to find the line, which causes the problem. Then inspect the size of the variables and the indices of the left-hand and right-hand side.
0 件のコメント
Jonas Reber
2011 年 6 月 6 日
you try to assign/access with wriong dimensions... most likely you forgot a :
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!