Mercurial > octave-nkf
diff scripts/control/base/place.m @ 7126:4a375de63f66
[project @ 2007-11-08 03:44:14 by jwe]
author | jwe |
---|---|
date | Thu, 08 Nov 2007 03:44:15 +0000 |
parents | f084ba47812b |
children |
line wrap: on
line diff
--- a/scripts/control/base/place.m Thu Nov 08 02:29:24 2007 +0000 +++ b/scripts/control/base/place.m Thu Nov 08 03:44:15 2007 +0000 @@ -51,7 +51,7 @@ ## check arguments - if(! isstruct (sys)) + if (! isstruct (sys)) error ("sys must be in system data structure format (see ss)"); endif sys = sysupdate (sys, "ss"); # make sure it has state space form up to date @@ -66,7 +66,7 @@ is_digital (sys); [n, nz, m, p] = sysdimensions (sys); nx = n+nz; # already checked that it's not a mixed system. - if(m != 1) + if (m != 1) error ("sys has %d inputs; need only 1", m); endif