필터 지우기
필터 지우기

Creating Menus using GUIDE

조회 수: 5 (최근 30일)
Caleb
Caleb 2013년 6월 20일
I've created a GUI, and I want to create a Help menu that, when activated, brings up a new window that has static text. However, I'm not sure how to do this using GUIDE. Do I just create new figures and call them from the GUI?

채택된 답변

David Sanchez
David Sanchez 2013년 6월 20일
You can make use of the message box utility:
msgbox('your message here');
Insert you help message and link the msgbox function to the pushbutton ( or whatever you want ) of your GUI.
help msgbox
will give you more options
  댓글 수: 7
Matt Tearle
Matt Tearle 2013년 6월 20일
Easiest way, I think, is to use the magic character #10 :)
Using the three strings from David's example:
help_str = [str1,10,10,str2,10,str3];
msgbox(help_str)
Caleb
Caleb 2013년 6월 20일
Fantastic! Works like a charm.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by