Determine current format in command window

6 views (last 30 days)
Is it possible to programmatically determine the current format of the command window? I want a program I am writing to use the "bank" format, but then restore the previous format when it has completed.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 7 Aug 2011
get(0,'Format')
  3 Comments
the cyclist
the cyclist on 7 Aug 2011
But as not explained in "help format". Sadly, old habits die hard. :-)
Jan
Jan on 7 Aug 2011
The different levels of information in HELP and DOC are sometimes disturbing. I've mentioned this mostly to encourage beginners to read both. But why not encourage an advanced MATLAB user also?!

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!