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

47 vues (au cours des 30 derniers jours)
Orlando Barrera
Orlando Barrera le 24 Avr 2020
Commenté : Adam Danz le 27 Juin 2021
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.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by