Format output at Command window and Workspace inconsistent

format shortEng;
a=12345.6789;
Command window output is:
12.3457e+003
But in Workspace a is:
1.2346e+04
Why are the output format different??

 採用された回答

Stephen23
Stephen23 2016 年 7 月 20 日
編集済み: Stephen23 2016 年 7 月 20 日

1 投票

They are not controlled by the same settings, so there is no reason why they have to be the same. It is possible that some features, such as the number of exponent digits, cannot be selected.
For the workspace viewer:
For the command window:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索

タグ

質問済み:

SP
2016 年 7 月 20 日

編集済み:

2016 年 7 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by