Symbolic Math Toolbox

Generating Code for MATLAB, Simulink, and Simscape

The results of symbolic computations are often used in numeric codes that exclusively use standard double-precision arithmetic.

Symbolic Math Toolbox provides functions for generating MATLAB functions, Simulink function blocks, and equations based on the Simscape language – directly from symbolic expressions.

Translating symbolic code to MATLAB, Simulink, and Simscape.
Translating analytical results for use in MATLAB, Simulink, and Simscape.

With these functions, you can convert the result of your symbolic computations into functions based on numeric computation, ready to be used in other parts of your program. Using the generated MATLAB functions does not require a license for Symbolic Math Toolbox. You can also convert symbolic expressions into C, Fortran, MathML, and TeX code.

Converting symbolic expressions to MATLAB functions.
Creating MATLAB functions automatically from symbolic expressions.
Next: Variable-Precision Arithmetic

Try Symbolic Math Toolbox

Get trial software

Mathematical Modeling with MATLAB Products

View webinar