Determine current format in command window

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.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 7 de Ag. de 2011

2 votos

get(0,'Format')

3 comentarios

Jan
Jan el 7 de Ag. de 2011
As explained in "doc format"...
the cyclist
the cyclist el 7 de Ag. de 2011
But as not explained in "help format". Sadly, old habits die hard. :-)
Jan
Jan el 7 de Ag. de 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?!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by