Use Frames

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:

  1. Select the place where you want to insert a frame.

  2. Select Insert>Frame.

  3. Drag the selected part into the frame.

You can change the appearance of the frame. To format a frame:

  1. Place cursor inside the frame you want to format.

  2. Select Format>Frame from the main menu or right-click to use context menu.

  3. 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.

  4. Click OK to apply the new frame settings and close the Frame Format dialog box.