Mercurial > hg > octave-lyh
diff scripts/control/system/starp.m @ 4030:22bd65326ec1
[project @ 2002-08-09 18:58:13 by jwe]
author | jwe |
---|---|
date | Fri, 09 Aug 2002 19:00:16 +0000 |
parents | c8c1ead8474f |
children | bdbee5282954 |
line wrap: on
line diff
--- a/scripts/control/system/starp.m +++ b/scripts/control/system/starp.m @@ -55,10 +55,10 @@ if((nargin != 2) && (nargin != 4)) usage("sys = starp(P, K, ny, nu)"); endif - if (!is_struct(P)) + if (!isstruct(P)) error("---> P must be in system data structure"); endif - if (!is_struct(K)) + if (!isstruct(K)) error("---> K must be in system data structure"); endif