diff --git a/matlab/reports/@graph/createGraph.m b/matlab/reports/@graph/createGraph.m index 9486efea4..98543ff0d 100644 --- a/matlab/reports/@graph/createGraph.m +++ b/matlab/reports/@graph/createGraph.m @@ -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