This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

The misc Library

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.


Use only in the MuPAD Notebook Interface. This functionality does not run in MATLAB.

The misc library contains some miscellaneous utility functions.

The package functions are called using the package name misc and the name of the function. E.g., use

myplus := misc::genassop(_plus, 0)

to create your own n-ary plus operator. (This is not really useful, since _plus is an n-ary operator, anyway.)

This mechanism avoids naming conflicts with other library functions. If this is found to be inconvenient, then the routines of the misc package may be exported via use. E.g., after calling

use(misc, genassop)

the function misc::genassop may be called directly:

myplus := genassop(_plus, 0)

All routines of the misc package are exported simultaneously by


The functions available in the misc library can be listened with:


We would especially like to thank Raymond Manzoni for contributing the function misc::pslq.

Was this topic helpful?