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.
|Iterate a function|
|Copies the lexical closure of a procedure|
|Discontinuities of a function|
|Create a function environment|
|Apply a function to all operands of an object|
|Apply a function to a rationalized expression|
|Define a new operator symbol|
|Apply function to arguments|
|Function that never returns|
|Curry an n-ary function|
|Create a functional expression from an expression|
|Create function by fixing all but one argument|
|Returns fixed point of a function|
|Create function which iterates over sequences|
|Repeated composition of function|
|Repeated composition returning intermediate values|
|Create a procedure from an expression|
|Stops the mapping currently done by maprec|
|Map a function to subexpressions of an expression|
|Type checking of formal parameters|
|Warnings about wrong usage of lexical scope|
The terms parameters and arguments are often used interchangeably.
When writing a MuPAD procedure, you can specify the type of arguments accepted by the procedure.
For many standard MuPAD procedures, you can use different options.
Suppose the data that you want to collect is generated element-by-element and you know in advance how many elements will be generated.
When you call a procedure, MuPAD allocates memory for the local variables, marks them as uninitialized, and evaluates the body of the procedure.
You can define utility functions inside a procedure.
Create private methods by using closures.
When calling a procedure with some arguments, you expect the procedure to assign these values for its local variables and perform some computations with those variables.