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