Home > m > gui > specwin_viewer > ltpda_specwin_viewer_wintype.m

ltpda_specwin_viewer_wintype

PURPOSE ^

Callback executed when the user selects a window

SYNOPSIS ^

function ltpda_specwin_viewer_wintype(varargin)

DESCRIPTION ^

 Callback executed when the user selects a window

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Mon 31-Mar-2008 21:41:00 by m2html © 2003