MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   求助解释这个callback的语句 (https://www.labfans.com/bbs/showthread.php?t=3088)

limingaini119 2008-05-17 12:25

求助解释这个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;

这段不懂怎么用!感谢指教!!


所有时间均为北京时间。现在的时间是 04:58

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.