diff --git a/matlab/reports/@graph/createGraph.m b/matlab/reports/@graph/createGraph.m
index 5f94cba232bc29fa4eca99ebcb836bafb03bc8ae..8b9c6ca8c0454fd2ed5bd0fa828c7ebf7fee3d1e 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'))