Symbolic math in MATLAB

Symbolic Math Toolbox™ uses the MuPAD® language as part of its underlying computational engine. The language has an extensive set of functions that are optimized for creating and operating on symbolic math expressions.

Since the R2016a release of MATLAB® the recommended approach is to use the MATLAB Live Editor for performing and documenting symbolic math calculations. MuPAD Notebook functionality is no longer being updated and will be removed in a future release.

Getting Started with the MATLAB Live Editor

The MATLAB Live Editor is an interactive way to create, edit, and run MATLAB code.

In a single environment your symbolic math computations are displayed in mathematical typeset, along with formatted text, multilingual text, equations, images, and hyperlinks.

You can share live scripts with others to accelerate exploratory analysis, create interactive narratives, and teach with interactive documents.

Examples for getting started with Symbolic Math Toolbox and performing symbolic computations in MATLAB.

Converting MuPAD Notebooks to MATLAB Live Scripts

You can use the MATLAB function convertMuPADNotebook to convert your MuPAD notebooks to MATLAB live scripts. You can also open a MuPAD notebook as a live script by right clicking and selecting Open As Live Script and save this live script for later use. For further assistance converting your MuPAD notebooks, contact MathWorks Support

Converting a MuPAD Notebook (top, left) to a live script (top, right) using the convertMuPADNotebook function (bottom).

MuPAD Notebook Deprecation

The MuPAD notebook will be removed in a future release. To convert your MuPAD notebook to a MATLAB live script, use the convertMuPADNotebook function.

See also: analytical solution, mathematical modeling, computer algebra system

Contact the Technical Expert

Contact the Symbolic Math Toolbox technical expert, Sohini Sarkar