www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@abstracttypewspecs/getdesignpanelstate.m
function s = getdesignpanelstate(this, hfm) %GETDESIGNPANELSTATE Get the designpanelstate. % Copyright 2004-2005 The MathWorks, Inc. s = getdesignpanelstate(this.CurrentSpecs); types = getfdatooltypes(this); s.isDesigned = 1; s.ResponseType = types{1}; s.SubType = types{2}; s.Tag = 'siggui.designpanel'; s.Version = 1; % Design method must be specified by the FMETHOD object. if nargin > 1 sfm = getdesignpanelstate(hfm); s.DesignMethod = sfm.DesignMethod; if isfield(sfm, 'Components') s.Components = {s.Components{:}, sfm.Components{:}}; end end % [EOF]