From 65e3ee9722c65d291c25dbedf30e11aebaca5996 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Fri, 13 Dec 2013 17:23:56 +0100
Subject: [PATCH] reporting: bug fix: Windows can't handle windows-style file
 separators in latex

(cherry picked from commit c0149f69d955665f34e7399f5598d4b2adb04576)
---
 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 5f94cba23..8b9c6ca8c 100644
--- a/matlab/reports/@graph/createGraph.m
+++ b/matlab/reports/@graph/createGraph.m
@@ -140,7 +140,7 @@ if isempty(o.figname)
     if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
         tn = strrep(tn, '_', '-');
     end
-    o.figname = [o.figDirName filesep tn '.tex'];
+    o.figname = [o.figDirName '/' tn '.tex'];
 end
 disp('  converting to tex....');
 if isoctave && isempty(regexpi(computer, '.*apple.*', 'once'))
-- 
GitLab