I wanna change the assigned value format's long in this function (value) "set(handles.edit1, 'String', value)"
Show older comments
%for example x=-0.134635523018792
%for gui presentation
set(handles.edit1, 'String', x)
%in gui x=-0.1346355 %7 numbers after the dot is appeared but I want to see whole numbers after the dot
Accepted Answer
More Answers (1)
Yao Li
on 17 Apr 2013
1 vote
x='-0.134635523018792';
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!