Display an answer in a text box for a gui

2 Comments

No code followed.
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

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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!