DisplayFormatOptions
Description
You can use the format
function to create an
DisplayFormatOptions
object that contains information about the current
display format in the Command Window. The object has two properties:
NumericFormat
stores the numeric display format, and
LineSpacing
stores the line spacing display format. You can also call
format
with a DisplayFormatOptions
object as the input
argument to restore the display settings saved in that object.
Creation
Create a DisplayFormatOptions
object by calling the format
function with an output argument.
Properties
Examples
Version History
Introduced in R2021a