diff scripts/control/system/sysgetsignals.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
line wrap: on
line diff
--- a/scripts/control/system/sysgetsignals.m
+++ b/scripts/control/system/sysgetsignals.m
@@ -146,9 +146,7 @@
 
   ## Adapted from ss
 
-  if(nargin < 1 | nargin > 4 | nargout > 4)
-    print_usage ();
-  elseif(nargin > 1 & nargout > 1)
+  if (nargin < 1 || nargin > 4)
     print_usage ();
   elseif( ! isstruct(sys) )
     error("input argument must be a system data structure");