Undefined command/function 'solve'

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.

 Accepted Answer

Walter Roberson
Walter Roberson on 18 Nov 2012
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

Thank you very much. Is already installed the Symbolic Mathematics Toolbox.
Last question. How you knows what functions are included into the Symbolic Mathematics Toolbox?
to get functions, use the Mupad help which can be launched by typing:
doc(symengine)
Produces the following error:
>> doc(symengine)
??? Undefined function or variable 'symengine'.
I have to install another component?
It appears so...
Try
which -all syms
and see if it says it is there, and see if it also reports "no license".

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!