How to format data in table?

19 ビュー (過去 30 日間)
Brian
Brian 2011 年 11 月 5 日
I have a function that opens a figure and prints data to a table. The numbers are formatted in scientific notation, how can I change that? I tried format ShortG but it doesn't affect the table. Thank you!
  3 件のコメント
Walter Roberson
Walter Roberson 2011 年 11 月 5 日
The "format" command *only* affects disp() and display() .
Brian
Brian 2011 年 11 月 6 日
Yes, it is a UITABLE. I just want in regular numbers, e.g. 1437.5 not 1.4375e+03

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2011 年 11 月 6 日
There is no provision to do that in uitable(). When you indicate the format for the column in uitable(), then the only supported alternate format available for numeric entries is 'bank'.
The alternative is to store your entries as character strings.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by