Callback executed when the user selects a window
0001 function ltpda_specwin_viewer_wintype(varargin) 0002 % Callback executed when the user selects a window 0003 0004 0005 etxt = findobj('Tag', 'LTPDA_specwin_viewer_PSLL'); 0006 wsel = findobj('Tag', 'LTPDA_specwin_viewer_WinType'); 0007 0008 idx = get(wsel, 'Value'); 0009 wins = get(wsel, 'String'); 0010 win = wins{idx}; 0011 0012 0013 if strcmpi(win, 'Kaiser') 0014 set(etxt, 'Enable', 'on'); 0015 else 0016 set(etxt, 'Enable', 'off'); 0017 end 0018 0019 0020 0021 end 0022