Display an answer in a text box for a gui
3 views (last 30 days)
Show older comments
Chris Jordan
on 16 May 2015
Commented: Image Analyst
on 16 May 2015
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150170/image.png)
2 Comments
Image Analyst
on 16 May 2015
There is no call to set() like I mentioned in my answer below. That's why nothing shows up.
Accepted Answer
Image Analyst
on 16 May 2015
Assuming you have a static text label, with tag "tension" in that box, you can use set():
set(handles.tension, 'String', num2str(tension));
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!