how to display a result with a value in matlab gui?

16 ビュー (過去 30 日間)
Rajasekaran
Rajasekaran 2014 年 3 月 13 日
回答済み: nl2605 2014 年 3 月 13 日
I want to display the results shown in command window by clicking push button. I mean, I created a function and when I run that function the results are shown in matlab command window. And I need to show that result by clicking a push button. How can I do that?

回答 (1 件)

nl2605
nl2605 2014 年 3 月 13 日
You have to use guide to make a GUI. Then put a pushbutton and a static text or table according to the data to be displaced. In the callback function of pushbutton, set the statictext value to the variable value.
I have also given an example. Hope it helps.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by