zhenghui 发表于 2009-10-11 23:08

关于OutputFcn调用的讨论

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

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

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

ChaChing 发表于 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.
页: [1]
查看完整版本: 关于OutputFcn调用的讨论