Clear Filters
Clear Filters

Command Window Display Formatting

2 views (last 30 days)
Hello all,
The command window output is showing different values by a factor of 100 than what is stored in the workspace. My code doesn't have this factor of 100 but the command window display does. It's confusing as I use the command window to quickly check my values and did not notice this factor for a while. I have included a screen shot of my code and window for reference. I did the format shortEng format compact and format x to reset to default but that only works one time. Somehow a setting has been changed but I am not sure what that is, any help would be greatly appreciated.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Feb 2018
Preferences -> Command Window -> Text display -> Numeric format

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!