DisplayFormatOptions
Description
You can use the format
function to return information about
the current display format in the Command Window. That information is stored in a
DisplayFormatOptions
object. 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