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

47 views (last 30 days)
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.

Answers (1)

Adam Danz
Adam Danz on 24 Apr 2020
  7 Comments
Waffiq Aziz
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
Adam Danz on 27 Jun 2021
The ColumnFormat and the style solutions are the same two solutions I mentioned in my answer above.

Sign in to comment.

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!