How to format data in table?
显示 更早的评论
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 个评论
Jan
2011-11-5
Do you mean a UITABLE? Which format do you want? Can you convert the data using SPRINTF or NUM2STR to strings?
Walter Roberson
2011-11-5
The "format" command *only* affects disp() and display() .
Brian
2011-11-6
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!