how to display results in matlab gui (text)

8 ビュー (過去 30 日間)
Huseyin
Huseyin 2014 年 3 月 1 日
回答済み: Image Analyst 2014 年 3 月 1 日
Hello,
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. Now I am making an interface with matlab gui and want to show that result in a new figure by clicking push button. tried to use "static text" but the datas in the result of that function is not so short to display in static text. I need to create a new window to display the results. In that new window, there should be a large text field (only the datas in result will be shown, no other buttons will be used.)How can I do that?
Thanks..

回答 (2 件)

Huseyin
Huseyin 2014 年 3 月 1 日
Anyone there who can help?

Image Analyst
Image Analyst 2014 年 3 月 1 日
You can do it if you use GUIDE http://blogs.mathworks.com/videos/category/gui-or-guide/. Just make a static text that's big enough to hold you entire string, or else put it into an edit field. Make the "max" properties of them 2 so that you can have multiline text..

カテゴリ

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