symbolic variables in MATLAB

조회 수: 1 (최근 30일)
Itachi
Itachi 2012년 8월 28일
Hi guys, I getting this error, any ideas?
Loading from: matlab.mat
??? Error using ==> error
Formatted arguments cannot be non-scalar numeric matrices.
Error in ==> sym.sym>assumptions at 2180
error('symbolic:sym:sym:errmsg1','Second argument %s not recognized.',a);
Error in ==> sym.sym>tomupad at 2148
assumptions(S,x,a);
Error in ==> sym.sym>sym.sym at 114
S.s = tomupad(x,a);
Error in ==> Frame_Analysis at 297
X=sym('x',[1 m]); % Definition of design variables
  댓글 수: 3
Itachi
Itachi 2012년 8월 28일
Hi again, about this problem. I've saved my workspace in matlab.mat . when I run my code I get correct answers but when my friend runs the same code on his computer he got this error!!!!
Walter Roberson
Walter Roberson 2012년 8월 28일
Your friend is running an earlier version of MATLAB than you are.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2012년 8월 28일
Which MATLAB release are you using? The ability to pass in array sizes is only a release or two old.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by