i want to print the variable in a button to the text edit
1 view (last 30 days)
Show older comments
for suppose i have a button named ratio, when i click on it ,i need to get the value on text edit in gui
0 Comments
Answers (1)
Walter Roberson
on 10 Feb 2016
ratio = 17/51; %some calculated value
set(handles.textedit1, 'String', num2str(ratio)) %send it to the text edit box
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps 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!