Display an answer in a text box for a gui

3 次查看(过去 30 天)
  2 个评论
Image Analyst
Image Analyst 2015-5-16
There is no call to set() like I mentioned in my answer below. That's why nothing shows up.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2015-5-16
Assuming you have a static text label, with tag "tension" in that box, you can use set():
set(handles.tension, 'String', num2str(tension));

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by