?? gui_sc.m
字號:
function gui_sc (action)%% This file is used by FASTICAG% This file holds the callbacks for save-dialog% @(#)$Id: gui_sc.m,v 1.3 2003/09/08 11:28:59 jarmo Exp $%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Global variables% Handle to the windowglobal hf_FastICA_Save;% Handles to some of the controls in windowglobal he_FastICA_suffix;% The needed main variablesglobal g_FastICA_ica_sig;global g_FastICA_ica_A;global g_FastICA_ica_W;global g_FastICA_white_sig;global g_FastICA_white_wm;global g_FastICA_white_dwm;global g_FastICA_pca_E;global g_FastICA_pca_D;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This should not take long...watchonInFigure = watchon;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%switch action%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%case 'Save' suffix = deblank(get(he_FastICA_suffix, 'String')); % The suffix for the variables fprintf('Saving results in variables in Matlab workspace.\n'); assignin('base',['IC' suffix],g_FastICA_ica_sig); assignin('base',['A' suffix],g_FastICA_ica_A); assignin('base',['W' suffix],g_FastICA_ica_W); assignin('base',['whitesig' suffix],g_FastICA_white_sig); assignin('base',['whiteningMatrix' suffix],g_FastICA_white_wm); assignin('base',['dewhiteningMatrix' suffix],g_FastICA_white_dwm); assignin('base',['E' suffix],g_FastICA_pca_E); assignin('base',['D' suffix],g_FastICA_pca_D); close(hf_FastICA_Save); % close the dialog % Use return to avoid reaching the watchoff statement at the end % (There used to be a 'break' statement here, but it resulted in % errors in more recent version of Matlab -- jarmo) return; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%case 'Cancel' close(hf_FastICA_Save); % do nothing just exit % Use return to avoid reaching the watchoff statement at the end % (There used to be a 'break' statement here, but it resulted in % errors in more recent version of Matlab -- jarmo) return;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%case 'Help' gui_help('gui_sc');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%end % switchwatchoff (watchonInFigure);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -