如何使我的帮助按钮显示Matlab帮助? [英] How to make my help button will show matlab help?

查看:98
本文介绍了如何使我的帮助按钮显示Matlab帮助?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hye guyz ..如果我想为我的身材做一个帮助按钮.如果用户按下帮助按钮,该如何显示呢?它会出现matlab helper,类似于产品帮助,功能浏览器等.我该如何链接它?是否有关于制作帮助按钮的教程?

Hye guyz.. If i want to make a help button for my figure. How can i make if the user pressed the help button, it will appear matlab helper which is like product help, function browser and etc.. How can i link it? Is there any tutorials regarding making a help button?

推荐答案

您可以将按钮的Callback属性设置为'doc(''plot'')'.按下按钮后将执行此命令.

You can set the Callback property of the button to 'doc(''plot'')'. This command will be executed when the button is pressed.

您可以在GUIDE中使用属性编辑器设置回调.如果要以编程方式进行操作,则可以生成如下所示的帮助按钮:

You can set the callback with the property editor in GUIDE. If you want to do it programmatically, you can generate the help button like this:

fh = figure
uicontrol('style','pushbutton','string','help','callback','doc(''plot'')','parent',fh)

这篇关于如何使我的帮助按钮显示Matlab帮助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆