subscript mismatch

4 ビュー (過去 30 日間)
marc
marc 2011 年 6 月 6 日
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 件のコメント
Jan
Jan 2011 年 6 月 6 日
Please show us the line, which causes the error.
marc
marc 2011 年 6 月 6 日
roots back to diff function, and throws error out... in main m file input arg to one of functions... blah... proprietary help me please obi wan punjabi!

サインインしてコメントする。

回答 (2 件)

Jan
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.

Jonas Reber
Jonas Reber 2011 年 6 月 6 日
you try to assign/access with wriong dimensions... most likely you forgot a :
  1 件のコメント
marc
marc 2011 年 6 月 6 日
no

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by