MuPAD

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.

Prior to the R2016a release of MATLAB® (March 2016), the MuPAD Notebook was the primary interface for performing and documenting symbolic math calculations. Starting in R2016a, the recommended approach is to use the MATLAB Live Editor.

Performing analytical integration in the MuPAD Notebook (left) and in the MATLAB Live Editor (right).

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.

Converting MuPAD Notebooks to MATLAB Live Scripts

The MATLAB function convertMuPADNotebook helps 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. 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).

The MuPAD Notebook and Resources

Alternatively you can still use the MuPAD language directly in the MuPAD Notebook. You can launch the MuPAD Notebook using the MATLAB function mupad.

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

Contact Technical Expert

Contact the Symbolic Math Toolbox technical expert, Sarah Palfreyman