MATLAB: Symbolic variables in MATLAB

loadMATLABmatrixsymbolic

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

Best Answer

Which MATLAB release are you using? The ability to pass in array sizes is only a release or two old.
Related Question