Home > Software engineering >  Why does MATLAB's numeric display default to shortG?
Why does MATLAB's numeric display default to shortG?

Time:04-19

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 PreferencesMATLABCommand WindowNumeric format:

enter image description here

  • Related