Display an answer in a text box for a gui

7 views (last 30 days)
  2 Comments
Image Analyst
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.

Sign in to comment.

Accepted Answer

Image Analyst
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));

More Answers (0)

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!