changeset 9308:a92b9dc3179e octave-forge

control-devel: fix copy-paste error
author paramaniac
date Tue, 03 Jan 2012 14:55:29 +0000
parents 7b6980185ff5
children 444596ec46e7
files extra/control-devel/inst/fwcfconred.m
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/extra/control-devel/inst/fwcfconred.m	Sat Dec 31 07:45:55 2011 +0000
+++ b/extra/control-devel/inst/fwcfconred.m	Tue Jan 03 14:55:29 2012 +0000
@@ -121,15 +121,15 @@
   endif
 
   if (! isa (G, "lti"))
-    error ("cfconred: first argument must be an LTI system");
+    error ("fwcfconred: first argument must be an LTI system");
   endif
 
   if (! is_real_matrix (F))
-    error ("cfconred: second argument must be a real matrix");
+    error ("fwcfconred: second argument must be a real matrix");
   endif
   
   if (! is_real_matrix (L))
-    error ("cfconred: third argument must be a real matrix");
+    error ("fwcfconred: third argument must be a real matrix");
   endif
 
   if (nargin > 3)                                  # fwcfconred (G, F, L, ...)
@@ -148,7 +148,7 @@
   nkv = numel (varargin);                          # number of keys and values
 
   if (rem (nkv, 2))
-    error ("cfconred: keys and values must come in pairs");
+    error ("fwcfconred: keys and values must come in pairs");
   endif
 
   [a, b, c, d, tsam, scaled] = ssdata (G);
@@ -160,12 +160,12 @@
   jobd = any (d(:));
 
   if (mf != m || nf != n)
-    error ("cfconred: dimensions of state-feedback matrix (%dx%d) and plant (%dx%d, %d states) don't match", \
+    error ("fwcfconred: dimensions of state-feedback matrix (%dx%d) and plant (%dx%d, %d states) don't match", \
            mf, nf, p, m, n);
   endif
 
   if (nl != n || pl != p)
-    error ("cfconred: dimensions of observer matrix (%dx%d) and plant (%dx%d, %d states) don't match", \
+    error ("fwcfconred: dimensions of observer matrix (%dx%d) and plant (%dx%d, %d states) don't match", \
            nl, pl, p, m, n);
   endif
 
@@ -214,7 +214,7 @@
         negfb = __conred_check_feedback_sign__ (val);
 
       otherwise
-        warning ("cfconred: invalid property name '%s' ignored", key);
+        warning ("fwcfconred: invalid property name '%s' ignored", key);
     endswitch
   endfor