怎样设置Callback属性?
在M-file编辑器中为按钮设置Callback属性,属性设置为<BR>comstr=get(gcbo,'string');<BR>edith=findobj(gcbf,'Tag','EditText');<BR>zstr=get(edith,'String');<BR>eval(zstr);<BR>eval(comstr);<BR>请问设置格式是以下形式吗?<BR><STRONG>function pushbutton1_Callback(hObject, eventdata, handles)<BR></STRONG>comstr=get(gcbo,'string');<BR>edith=findobj(gcbf,'Tag','EditText');<BR>zstr=get(edith,'String');<BR>eval(zstr);<BR>eval(comstr);
页:
[1]