Note: MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
To save changes in a notebook:
Switch to the notebook. (You cannot save changes in a MuPAD notebook from the MATLAB Command Window.)
Select File > Save or File > Save As from the main menu or use the toolbar.
If you want to save and close a notebook, you can use the
close function in the MATLAB Command
Window. If the notebook has been modified, then MuPAD brings
up the dialog box asking if you want to save changes. Click Yes to
save the modified notebook.
You can lose data when saving a MuPAD notebook. A notebook
saves its inputs and outputs, but not the state of its engine. In
particular, MuPAD does not save variables copied into a notebook