Mercurial > hg > ltpda
view testing/utp_1.1/utps/ssm/utp_ssm_model_DFACS.m @ 49:0bcdf74587d1 database-connection-manager
Cleanup
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:36 +0100 |
parents | 409a22968d5e |
children |
line wrap: on
line source
% UTP_SSM_MODEL_DFACS a set of UTPs for the DFACS SSM built-in model. % % M Hewitson 26-07-10 % % $Id: utp_ssm_model_DFACS.m,v 1.2 2010/07/27 07:13:59 hewitson Exp $ % % <MethodDescription> % % The built-in model 'DFACS' represents different incarnations of the controllers % for LPF. % % </MethodDescription> function results = utp_ssm_model_DFACS(varargin) % Check the inputs if nargin == 0 % Some keywords class = 'ssm'; model = 'DFACS'; results = []; disp('******************************************************'); disp(['**** Running UTPs for ' class '/' model]); disp('******************************************************'); % Run the tests results = [results utp_901(class, model, plist)]; % check model name results = [results utp_902(class, model, plist)]; % check model description results = [results utp_903(class, model, plist)]; % check model responds to 'DIM' % results = [results utp_920(class, model, plist)]; % check model bode response disp('Done.'); disp('******************************************************'); elseif nargin == 1 % Check for UTP functions if strcmp(varargin{1}, 'isutp') results = 1; else results = 0; end else error('### Incorrect inputs') end end