Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Set Line Length in Plain Text Outputs

MuPAD® notebooks are not recommended. 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 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:

TEXTWIDTH := 15:

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

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?