Skip to content
Snippets Groups Projects
Commit f262d684 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

fix path to always use forward slash

parent 03b13a5b
Branches
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ if ~isempty(o.latex)
if ~exist(o.pageDirName, 'dir')
mkdir(o.pageDirName)
end
pagename = [o.pageDirName filesep 'page_' num2str(pg) '.tex'];
pagename = [o.pageDirName '/page_' num2str(pg) '.tex'];
[fidp, msg] = fopen(pagename, 'w');
if fidp == -1
error(['@page.write: ' msg]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment