How Can I change the format displayed by a Table on an App?

47 ビュー (過去 30 日間)
Orlando Barrera
Orlando Barrera 2020 年 4 月 24 日
コメント済み: Adam Danz 2021 年 6 月 27 日
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.

回答 (1 件)

Adam Danz
Adam Danz 2020 年 4 月 24 日
  7 件のコメント
Waffiq Aziz
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
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 ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by