How Can I change the format displayed by a Table on an App?
47 ビュー (過去 30 日間)
古いコメントを表示
Im having this problem: My app keeps rounding the decimals and I dont want it to, it displays only 4 decimal numbers and also it is using scientific notation in some columns and it is a complete mess, how, which and where do I have to put a code to make all my outputs in the same format? Maybe I have to change something in the matrices from where these data come, I'm new to Matlab App designing and Matlab in general.

0 件のコメント
回答 (1 件)
Adam Danz
2020 年 4 月 24 日
Look at the last option listed under the ColumnFormat table
Here are a list of formats.
Note that the format doesn't change the values.
7 件のコメント
Waffiq Aziz
2021 年 6 月 27 日
Just found the answer after searching on the internet
a bit different GUIDE and APP DESIGNER
app.uitable1.ColumnFormat = {'shortG'};
its work for me
for other format :
Adam Danz
2021 年 6 月 27 日
The ColumnFormat and the style solutions are the same two solutions I mentioned in my answer above.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




