The import Library

MuPAD® notebooks will be removed in a future release. 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 import library provides functions for importing external data into MuPAD®.

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


for reading external data from the file ‘datafile.’ This mechanism avoids naming conflicts with other library functions. If this is found to be inconvenient, then the routines of the import package may be exported via use. E.g., after calling

use(import, readdata)

the function import::readdata may be called directly:


All routines of the import package are exported simultaneously by


The functions available in the import library can be listed with: