display value on GUi

Hai, I have a GUI that contain calculation. After done calculation, the answer I want to display it. Can you help me?

1 个评论

"a GUI that contain calculation" is not clear. How is the result of the calculation available? Is the calculation started inside a callback? How do you want to display the results - as text or diagram?

请先登录,再进行评论。

回答(1 个)

msgbox( sprintf('The answer was: %g', YourAnswerVariable) );

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

标签

评论:

Jan
2017-5-24

Community Treasure Hunt

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

Start Hunting!

Translated by