Mercurial > hg > octave-lyh
diff scripts/control/system/sysappend.m @ 5443:ec8c33dcd1bf
[project @ 2005-09-08 01:40:57 by jwe]
author | jwe |
---|---|
date | Thu, 08 Sep 2005 01:40:58 +0000 |
parents | 4c8a2e4e0717 |
children | e9cde940b271 |
line wrap: on
line diff
--- a/scripts/control/system/sysappend.m +++ b/scripts/control/system/sysappend.m @@ -111,7 +111,7 @@ if(Bm != Am) ## construct new signal names if(nargin >= 6) # new names were passed - if(!isstr(inname)) + if(!ischar(inname)) error("inname must be a string"); elseif(rows(inname) != (Bm - Am)) error(sprintf("%d new inputs requested; inname(%dx%d)", ... @@ -144,7 +144,7 @@ ## construct new signal names, output classification if(nargin >= 5) # new names were passed - if(!isstr(outname)) + if(!ischar(outname)) error("outname must be a string"); elseif(rows(outname) != (Bp - Ap)) error(sprintf("%d new outputs requested; outname(%dx%d)", ...