how to write number into uitable?
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
More Answers (1)
Star Strider
on 22 May 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 Comments
See Also
Categories
Find more on Get Started with MATLAB 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!