matlab中这个错在那里?如何 改

来源:百度知道 编辑:UC知道 时间:2024/07/04 22:46:18
NELEM1 =

69

??? Index exceeds matrix dimensions.

Error in ==> truss_sub_twoforce at 49
proid01(NELEM1);
源程序太长,传不上来
本来这个proid01是没有定义的,我加了一句 proid01=sym([:]);
然后就这样了

NELEM1 =

69

??? Index exceeds matrix dimensions. (下标超出了矩阵的维数),检查下下标吧,越界了,这个问题很常见的。。

Error in ==> truss_sub_twoforce at 49
proid01(NELEM1);

把源程序发上来啊!!!!!!!