Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#3 |
初级会员
注册日期: 2008-03-19
年龄: 41
帖子: 10
声望力: 18 ![]() |
![]()
在一个已经编辑好GUI界面(文件名假设为 Main)
设置一个 pushbutton(作用为调用另外一个GUI界面,文件名假设存为thresh) 则在这个pushbutton的 callback(回调命令)中 添入 thresh 就可以了,这样就可以完成GUI的调用 ######################################## function varargout =Main(varargin) %编辑好GUI界面(文件名假设为 Main) ...................................................... % --- Executes on button press in pushbutton1. function pushbutton1_Callback(hObject, eventdata, handles) thresh %另外一个GUI界面,文件名假设存为thresh 这样原来的Main GUI 和调用的 tresh GUI 是同时存在的! |
![]() |
![]() |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
[求助]matlab的图论工具箱GrTheory怎么用? | beyondcom | MATLAB论坛 | 0 | 2008-05-25 20:01 |
[求助]为什么会产生错误的解? | yaojin911 | MATLAB论坛 | 3 | 2008-05-23 20:16 |
【求助】matlab中能否保存动态的仿真曲线 | tiange | MATLAB论坛 | 0 | 2008-04-05 09:49 |
Simplify Instrument Communication: Using Instrument Drivers with the Instrument Contr | TechnicalArticles | MATLAB技术文章 | 0 | 2008-01-06 16:32 |
【求助】matlab load 的奇怪问题 | dnping | MATLAB论坛 | 1 | 2007-07-26 11:34 |