subscript mismatch
조회 수: 5 (최근 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!