diff scripts/miscellaneous/mkoctfile.m @ 7540:3422f39573b1

strcat.m: Matlab compatibility, with cstrcat.m replacing conventional strcat.m.
author Ben Abbott <bpabbott@mac.com>
date Thu, 28 Feb 2008 02:41:19 -0500
parents a1dbe9d80eee
children 5dd06f19e9be
line wrap: on
line diff
--- a/scripts/miscellaneous/mkoctfile.m
+++ b/scripts/miscellaneous/mkoctfile.m
@@ -125,9 +125,9 @@
 
   shell_script = fullfile (bindir, sprintf ("mkoctfile-%s", OCTAVE_VERSION));
 
-  cmd = strcat ("\"", shell_script, "\"");
+  cmd = cstrcat ("\"", shell_script, "\"");
   for i = 1:nargin
-    cmd = strcat (cmd, " \"", varargin{i}, "\"");
+    cmd = cstrcat (cmd, " \"", varargin{i}, "\"");
   endfor
   
   status = system (cmd);