MATLAB Answers

the cyclist

Determine current format in command window

Asked by the cyclist
on 7 Aug 2011

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.




No products are associated with this question.

1 Answer

Answer by Fangjun Jiang
on 7 Aug 2011
 Accepted answer



Jan Simon
on 7 Aug 2011

As explained in "doc format"...

the cyclist
on 7 Aug 2011

But as not explained in "help format". Sadly, old habits die hard. :-)

Jan Simon
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?!

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!