필터 지우기
필터 지우기

Please help me creating help button please!!

조회 수: 9 (최근 30일)
slumberk
slumberk 2011년 3월 8일
Hye guys.. I need help here. How can i make a help pushbuttons for my figure. For example, when i push help button, then it will popup the menu list(which is the help of my program)? What i mean is, i have a program that i created using GUIDE and then if you are the user of my program, for sure you need help with it. So how can i make my program as a user-friendly program? I plan to create a help button so that user can understand my coding.. How to popup the help??

채택된 답변

Matt Fig
Matt Fig 2011년 3월 8일
For very complicated GUIs, why not just use another GUI as the helper? For example, just make another GUI which has different choices for the help topic, and one big textbox where the help for each topic gets displayed. I have used this in the past and gotten good feedback.
  댓글 수: 3
Matt Fig
Matt Fig 2011년 3월 8일
You already made one GUI, right? Just make another GUI, and put a call to it in the callback of the 'HELP' button of the first GUI. That way, when the user pushes the 'HELP' button the new GUI will launch.
slumberk
slumberk 2011년 3월 8일
oooo.. now i get it.. thx!

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

추가 답변 (1개)

Matt Tearle
Matt Tearle 2011년 3월 8일
Make a pushbutton uicontrol (or menu item) and give it a callback that creates a new figure window. This figure has a static text box uicontrol and a pushbutton that closes the window.
A nice trick is to give the figure a unique tag. Then your callback can do a findobj on that tag first. If it finds anything, it just makes the figure current. If not, then it creates it. That way you won't create new help windows every time you click on "help".
You can also give mouse hover/tooltip strings to you uicontrols.

카테고리

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