comparison m-toolbox/m/gui/gltpda/g_pzmodelGainEdit.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 function g_pzmodelGainEdit(hObject, varargin)
2
3 global params
4
5 currParamIndex = get(hObject,'UserData');
6 pzGain = str2double(get(hObject,'String'));
7 pzObj = params.params(currParamIndex);
8 pzKey = pzObj.key;
9 pzObj = pzObj.val;
10 pzObj = pzmodel(pzGain,pzObj.poles,pzObj.zeros);
11 params = pset(params,pzKey,pzObj);
12 set(findobj('Tag','apply'),'Enable','on');
13 set(findobj('Tag','undo'),'Enable','on');
14
15 end