Mercurial > hg > octave-lyh
comparison 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 |
comparison
equal
deleted
inserted
replaced
7539:3e107d73aeb4 | 7540:3422f39573b1 |
---|---|
123 | 123 |
124 bindir = octave_config_info ("bindir"); | 124 bindir = octave_config_info ("bindir"); |
125 | 125 |
126 shell_script = fullfile (bindir, sprintf ("mkoctfile-%s", OCTAVE_VERSION)); | 126 shell_script = fullfile (bindir, sprintf ("mkoctfile-%s", OCTAVE_VERSION)); |
127 | 127 |
128 cmd = strcat ("\"", shell_script, "\""); | 128 cmd = cstrcat ("\"", shell_script, "\""); |
129 for i = 1:nargin | 129 for i = 1:nargin |
130 cmd = strcat (cmd, " \"", varargin{i}, "\""); | 130 cmd = cstrcat (cmd, " \"", varargin{i}, "\""); |
131 endfor | 131 endfor |
132 | 132 |
133 status = system (cmd); | 133 status = system (cmd); |
134 | 134 |
135 if (status == 127) | 135 if (status == 127) |