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.


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 combinat library provides combinatorial functions.

The library functions are called using the library name combinat and the name of the function. E.g., use


to compute the 5-th Bell number. This mechanism avoids naming conflicts with other library functions.

If this is found to be inconvenient, then the routines of the combinat library may be exported via use. E.g., after calling

use(combinat, bell)

the function combinat::bell may be called directly:


All routines of the combinat library are exported simultaneously by


The functions available in the combinat library can be listed using

Was this topic helpful?