How Can I change the format displayed by a Table on an App?
47 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Adam Danz
on 24 Apr 2020
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 Comments
Waffiq Aziz
on 27 Jun 2021
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
on 27 Jun 2021
The ColumnFormat and the style solutions are the same two solutions I mentioned in my answer above.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



