how to write number into uitable?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
best16 programmer
am 22 Mai 2017
Kommentiert: Jan
am 22 Mai 2017
hello, i have a uitable in a gui application and i want to write a number such as:
x=x0±0.01
with x0 is a number,can you help me with that?
thank you
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Star Strider
am 22 Mai 2017
I would use sprintf to create ‘x’:
x = sprintf('%.2f±0.01', x0);
Change it if necessary to create the result you want.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!