Domain Operations

Define new domains, domain elements, methods and entries of domains, access and substitute operands of domain elements


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

extnopsNumber of operands of the internal representation a domain element
extopInternal operands of a domain element
extsubsopSubstitute operands of a domain element
newCreate a domain element
newDomainCreate a new data type (domain)
slotMethod or entry of a domain or a function environment
slotAssignCounterCounts slot assignments

Examples and How To

Define Your Own Data Types

MuPAD provides many predefined domains for a wide variety of symbolic and numeric computations.


Data Type Definition

MuPAD stores all objects as elements of particular domains.