comparison scripts/control/system/dmr2d.m @ 7133:1d0d7be2d0f8

[project @ 2007-11-08 16:25:44 by jwe]
author jwe
date Thu, 08 Nov 2007 16:25:44 +0000
parents a1dbe9d80eee
children 8aa770b6c5bf
comparison
equal deleted inserted replaced
7132:b01db194c526 7133:1d0d7be2d0f8
74 ## Adapted from c2d by a.s.hodel@eng.auburn.edu 74 ## Adapted from c2d by a.s.hodel@eng.auburn.edu
75 75
76 function [dsys, fidx] = dmr2d (sys, idx, sprefix, Ts2, cuflg) 76 function [dsys, fidx] = dmr2d (sys, idx, sprefix, Ts2, cuflg)
77 77
78 ## parse input arguments 78 ## parse input arguments
79 if(nargin != 4 | nargout > 2) 79 if (nargin != 4)
80 print_usage (); 80 print_usage ();
81 81
82 elseif (!isstruct(sys)) 82 elseif (!isstruct(sys))
83 error("sys must be in system data structure form"); 83 error("sys must be in system data structure form");
84 84