MATLAB Answers

display value on GUi

6 views (last 30 days)
Syakira Akmal
Syakira Akmal on 24 May 2017
Commented: Jan on 24 May 2017
Hai, I have a GUI that contain calculation. After done calculation, the answer I want to display it. Can you help me?

  1 Comment

Jan
Jan on 24 May 2017
"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?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 24 May 2017
msgbox( sprintf('The answer was: %g', YourAnswerVariable) );

  0 Comments

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by