internals test: fix printing for octave

time-shift
Houtan Bastani 2013-11-26 15:29:23 +01:00
parent e29990df62
commit 89268f4f6f
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ 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
fprintf(tid,str);
end
fprintf(tid,['LOG = NaN;\n']);