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.
If you want to format different parts of a notebook separately, use frames. Frames can include text, mathematical expressions, and commands. To insert a frame:
Select the place where you want to insert a frame.
Drag the selected part into the frame.
You can change the appearance of the frame. To format a frame:
Place cursor inside the frame you want to format.
Select Format>Frame from the main menu or right-click to use context menu.
In the appropriate fields of the Frame Format dialog box, type the size of left margin, frame border size, width of the left bracket that encloses the input region, and background color.
Click OK to apply the new frame settings and close the Frame Format dialog box.