Commit f262d684 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

fix path to always use forward slash

parent 03b13a5b
......@@ -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]);
......@@ -79,4 +79,4 @@ if strcmpi(o.orientation, 'landscape')
end
fprintf(fid, '\\clearpage\n');
fprintf(fid, '%% End Page Object\n\n');
end
\ No newline at end of file
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment