reporting: for windows filenames escape underscore
parent
7cc259ea46
commit
85905cbb1d
|
@ -138,6 +138,7 @@ if isempty(o.figname)
|
||||||
tn = tempname;
|
tn = tempname;
|
||||||
if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
|
if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
|
||||||
tn = strrep(tn, '\', '/');
|
tn = strrep(tn, '\', '/');
|
||||||
|
tn = strrep(tn, '_', '\_');
|
||||||
end
|
end
|
||||||
o.figname = [tn '.tex'];
|
o.figname = [tn '.tex'];
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue