Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Undefined command/function 'solve'

Asked by Cristian on 18 Nov 2012

Hi, I have a problem when try to use the command '*solve*'.

I have the following line:

double(solve('1=2*sin(m)'))

Produces this error message:

??? Undefined command/function 'solve'.

Can help me?

Sorry for my English. Thank you.

0 Comments

Cristian

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 18 Nov 2012
Accepted answer

Solve is part of the Symbolic Mathematics Toolbox, which needs to be installed and licensed. The Symbolic Mathematics Toolbox is included with the Student Version (but is not necessarily installed by default), but is extra cost for the Academic and Commercial versions.

5 Comments

Cristian on 18 Nov 2012

Produces the following error:

>> doc(symengine)
??? Undefined function or variable 'symengine'.

I have to install another component?

proecsm on 18 Nov 2012

It appears so...

Walter Roberson on 18 Nov 2012

Try

which -all syms

and see if it says it is there, and see if it also reports "no license".

Walter Roberson

Contact us