Set Line Length in Plain Text Outputs

    Note:   Use only in the MuPAD Notebook Interface. This functionality does not run in MATLAB.

To see results in the plain text format, disable the typeset mode for outputs. By default, MuPAD® limits lines in plain text outputs to 75 symbols. To change this setting for your current notebook:

  1. Select Notebook>Text Width

  2. In the Text Width dialog box, specify the line length limit.

Alternatively, assign the new value to the environment variable TEXTWIDTH:


To restore the setting to its default value, delete TEXTWIDTH:


MuPAD applies the new setting to all new outputs in a notebook. To apply the setting to existing output regions, re-evaluate the appropriate input regions. See Evaluate Mathematical Expressions and Commands.

To change the default line length limit for the current and all new notebooks, see Setting Preferences for Notebooks.

Was this topic helpful?