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.
To eliminate syntax errors and to make it easy to remember the commands and functions, MuPAD® can automatically complete the command you start typing. To automatically complete the command, press Ctrl+space.
You also can access common functions through the Command Bar.
If you do not see the Command Bar, select View>Command Bar.
The buttons on the Command Bar display the function labels. To see the name of the function that the button presents, hover your cursor over the button.
To insert a function:
Point the cursor at the place in an input region where you want to insert a function.
Click the button corresponding to the function.
Insert the parameters instead of the # symbols. You can switch between the parameters by pressing the Tab key.
Most of the buttons on the Command Bar include a drop-down menu with a list of similar functions. The buttons display a small triangle in the bottom right corner. Click the button to open the list of functions.
Using the Command Bar, you also can create the following:
Vectors and matrices
2-D plots and animations
General Math and Plot Commands menus at the bottom of the Command Bar display the categorized lists of functions.