How to edit menus from Menu Bar?

3 次查看(过去 30 天)
adi kul
adi kul 2016-6-8
Hello All, With the help of menu editor I have created 2 menus in my GUI. 1.About 2.Help
Now when user clicks on About, I want to show a popup window stating some message such as copywrite, version, developer, etc. And when user clicks on help, I want to open a pdf file which will give step by step guideline on using this GUI.
Also is there any way to put the guidelines mentioned in pdf directly in Matlab GUI so I don't need to keep pdf file separate while distributing the standalone GUI?

回答(1 个)

Geoff Hayes
Geoff Hayes 2016-6-8
编辑:Geoff Hayes 2016-6-8
adi - your question title asks how to edit menus from Menu Bar but your question body seems to suggest that you have already created the two menus.
If you want to know how to create a dialog (for your about info) see predefined dialogs or create your own modal dialog for details. As for opening a PDF file, use open to open any file in the appropriate application.
  3 个评论
Geoff Hayes
Geoff Hayes 2016-6-8
Since you want to centre the text, you may want to create your own modal dialog. You will have more control over how it appears...
Madina Hamiane
Madina Hamiane 2019-12-21
What about changing the title of the menu window ?????

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by