Products & Services Solutions Academia Support User Community Company

Learn more about Symbolic Math Toolbox   

evalin - Evaluate MuPAD expressions

Syntax

result = evalin(symengine,'MuPAD_expression')
[result,status] = evalin(symengine,'MuPAD_expression')

Description

result = evalin(symengine,'MuPAD_expression') evaluates the MuPAD expression MuPAD_expression, and returns result as a symbolic object.

[result,status] = evalin(symengine,'MuPAD_expression') returns the error status in status and the error message in result if status is nonzero. If status is 0, result is a symbolic object; otherwise, it is a string.

Example

evalin(symengine,'polylib::discrim(a*x^2+b*x+c,x)')
ans =
 b^2 - 4*a*c

See Also

doc, feval

Calling MuPAD Functions at the MATLAB Command Line

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS