MATLAB Answers

symbolic variables in MATLAB

5 views (last 30 days)
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
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


Azzi Abdelmalek
Azzi Abdelmalek on 28 Aug 2012
post your code
Itachi on 28 Aug 2012
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 on 28 Aug 2012
Your friend is running an earlier version of MATLAB than you are.

Sign in to comment.

Accepted Answer

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


Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by