Format display number into table
조회 수: 12 (최근 30일)
이전 댓글 표시

I trieded to change the format of my display number by ussing "format".
All my information are Wh
I have the exemple which displays
2.137873250705810e+04
It should display
21379
I don't want to use an fprint because I want to work directly in my table
댓글 수: 5
Stephen23
2023년 7월 4일
"I use a object class "table" to store multi info after running my script like a sort of " balance sheet""
Your screenshot shows a double class array.
채택된 답변
Stephen23
2023년 7월 4일
편집: Stephen23
2023년 7월 4일
You can change the variable viewer format in the options:
Preferences -> Variables -> Format -> Default Display Format.
You need to close and reopen the variable viewer for this to take effect.
댓글 수: 3
Stephen23
2023년 7월 4일
The FORMAT command only affects the command window. It has no effect on the variable viewer.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!