limingaini119
2008-05-17, 12:25
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;
这段不懂怎么用!感谢指教!!
% 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;
这段不懂怎么用!感谢指教!!