This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Typeset Math and Other Output Modes

Typeset, ASCII, or plain text math, abbreviations, line length

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

printPrint objects to the screen
output::asciiAbbreviateGenerates a procedure for creating an ASCII formatted output
output::fencePut delimiters around multiline strings
output::mathTextPretty output of text combined with formulas
output::ordinalOrdinal numbers
output::romanRoman numerals
output::subexprAbbreviates a expression
output::tableFormPrinting objects in table form
output::treeDisplay of trees
Pref::abbreviateOutputControls the use of abbreviations in outputs
Pref::outputModify the screen output of objects

MuPAD Environment Variables

PRETTYPRINTControl the formatting of output
TEXTWIDTHMaximum number of characters in an output line

Topics

Use Different Output Modes

MuPAD can display results of your calculations using different modes.

Set Line Length in Plain Text Outputs

Plain text line length.

Greek Letters in Text Regions in MuPAD

In a MuPAD notebook, you can convert characters in the text region to Greek letters one at a time:

Special Characters in Outputs

To produce special characters, including greek letters, in the output regions of a MuPAD notebook, use the Symbol command:

Non-Greek Characters in Text Regions

Use non-Greek special characters in text regions.