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.

 채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 8월 7일

2 개 추천

get(0,'Format')

댓글 수: 3

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by