查看单个帖子
旧 2008-05-17, 12:25   #1
limingaini119
初级会员
 
注册日期: 2008-01-24
年龄: 40
帖子: 17
声望力: 18
limingaini119 正向着好的方向发展
默认 求助解释这个callback的语句

function pushbutton_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
PopMenu1_Value=get(findobj('Tag','popupmenu1'),'Value');
PopMenu2_Value=get(findobj('Tag','popupmenu2'),'Value');
save DataSupport PopMenu1_Value PopMenu2_Value -append;
1_St='';
2_St='';
save DataSupport 1_St 2_St -append;
close;
run DPS;

解释下,这段程序的功能是跳转到filename为DPS的另一个界面,请问save这句话的用法 ,以及这段CALLBACK是怎样实现的?下拉菜单的value属性不用介绍,只是下面那段

save DataSupport PopMenu1_Value PopMenu2_Value -append;
1_Status='';
2_Status='';
save DataSupport 1_Status 2_Status -append;

这段不懂怎么用!感谢指教!!
limingaini119 当前离线   回复时引用此帖