From b400fea376f7f90ea191f250495d96ea64c6121f Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 14 Mar 2013 14:38:30 +0100 Subject: [PATCH] reporting: change way to create temporary file --- matlab/reporting/@graph/createGraph.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index 9874ca78f9..605b0e9243 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -109,7 +109,7 @@ if ~isempty(o.title) end drawnow; -o.figname = ['figure-' num2str(cputime) '.tex']; +o.figname = [tempname '.tex']; disp(' converting to tex....'); matlab2tikz('filename', o.figname, ... 'showInfo', false, ... -- GitLab