reporting: for windows filenames escape underscore

time-shift
Houtan Bastani 2013-12-12 15:30:44 +01:00
parent 7cc259ea46
commit 85905cbb1d
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ if isempty(o.figname)
tn = tempname;
if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
tn = strrep(tn, '\', '/');
tn = strrep(tn, '_', '\_');
end
o.figname = [tn '.tex'];
end