?? frommatfile_callback.m
字號:
function frommatfile_callback
[fname,pname]=uigetfile('*.mat','Initialize From Mat File');
if ~fname
return
end
for i=1:length(fname)%get the file name without the extension
if fname(i)=='.'
break;
end
name(i)=fname(i);
end
load([pname,name]);
save inidata A B H Q R P0 X0;%you should specify the variables in the stand-alone exe file
CI=findobj(gcf,'tag','compo1');
set(CI,'userdata',[]);
generatezk;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -