internals: replace % for both matlab and octave with %%

time-shift
Houtan Bastani 2013-11-26 16:55:04 +01:00
parent 89268f4f6f
commit 9454862142
1 changed files with 1 additions and 3 deletions

View File

@ -74,9 +74,7 @@ for i=1:nn
fprintf(tid,['try\n']);
for j=b1(i):b2(i)
str = sprintf('%s \n',file{j}(4:end));
if isoctave
str = regexprep(str, '%', '%%');
end
str = regexprep(str, '%', '%%');
fprintf(tid,str);
end
fprintf(tid,['LOG = NaN;\n']);