From 359245b65b93915bfa19ae6ca922de25ffab52cf Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Fri, 13 Dec 2013 17:23:26 +0100 Subject: [PATCH] reporting: bug fix: avoid underscores altogether --- matlab/reports/@graph/createGraph.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reports/@graph/createGraph.m b/matlab/reports/@graph/createGraph.m index 99d975335..5f94cba23 100644 --- a/matlab/reports/@graph/createGraph.m +++ b/matlab/reports/@graph/createGraph.m @@ -138,7 +138,7 @@ drawnow; if isempty(o.figname) [junk, tn] = fileparts(tempname); if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64') - tn = strrep(tn, '_', '\_'); + tn = strrep(tn, '_', '-'); end o.figname = [o.figDirName filesep tn '.tex']; end