声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1729|回复: 1

[GUI界面] 关于OutputFcn调用的讨论

[复制链接]
发表于 2009-10-11 23:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
关于OutputFcn调用的讨论想问一下,function varargout = gui1_OutputFcn(hObject, eventdata, handles) ,具体是在我们操作什么的时候调

用啊?我的意思是我们在点击什么按钮的时候,还是系统默认的调用,不受我们控制。

我用中断的方式,进行了一遍,找不到调用的时间,呵呵!
回复
分享到:

使用道具 举报

发表于 2009-10-12 00:52 | 显示全部楼层
help是这样说的, 不过个人没试过
The output function returns, to the command line, outputs that are generated during its execution. It is executed when the opening function returns control and before control returns to the command line. This means that you must generate the outputs in the opening function, or call uiwait in the opening function to pause its execution while other callbacks generate outputs.
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-27 21:52 , Processed in 0.052726 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表