Skip to content
Snippets Groups Projects
Commit 76eecf8e authored by M. Hock's avatar M. Hock
Browse files

ensured that ParentFolder and following variables have no trailing filesep

parent 9ba681b0
No related branches found
No related tags found
2 merge requests!73Docs/minimalexampleinreadme,!69Fix/centralizedonlinux
......@@ -46,6 +46,11 @@ if isstring(scriptPath)
scriptPath = char(scriptPath);
end
% ensure ParentFolder has no trailing fileseperator
if contains(options.ParentFolder(end),filesep)
options.ParentFolder(end)='';
end
%catch multiple figures in fig
if numel(figure) > 1
figure = figure(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment