Opening a new MATLAB session, I notice the default formatting set to shortG
when I expect it to be just short
. MATLAB R2022a is used here, if it matters. Any ideas what has happened? Thanks.
>> fmt = format
fmt =
DisplayFormatOptions with properties:
NumericFormat: "shortG"
LineSpacing: "loose"
CodePudding user response:
You can change that in Preferences
→ MATLAB
→ Command Window
→ Numeric format
: