diff scripts/control/system/sysidx.m @ 4844:9f7ef92b50b0

[project @ 2004-04-02 17:26:53 by jwe]
author jwe
date Fri, 02 Apr 2004 17:26:54 +0000
parents 22bd65326ec1
children 4c8a2e4e0717
line wrap: on
line diff
--- a/scripts/control/system/sysidx.m
+++ b/scripts/control/system/sysidx.m
@@ -38,13 +38,13 @@
   endif
 
   ## extract correct set of signal names values
-  [idxvec, msg] = listidx (list ("in", "out", "st", "yd"), sigtype);
+  [idxvec, msg] = cellidx ({"in", "out", "st", "yd"}, sigtype);
   if (msg)
     error ("invalid sigtype = %s", sigtype);
   endif
 
   syssiglist = sysgetsignals (sys, sigtype);
-  [idxvec, msg] = listidx (syssiglist, signamelist);
+  [idxvec, msg] = cellidx (syssiglist, signamelist);
   if (length (msg))
     error ("sysidx (sigtype = %s): %s", sigtype,
 	   strrep (msg, "strlist", "signamelist"));