Commit 457c412b authored by Marco Berzborn's avatar Marco Berzborn

on Windows R2015a evalin('base','userpath') has path separator at end of string. Taken care of that

parent fbb7d277
......@@ -55,6 +55,9 @@ if save_state == 1
userpath('reset');
end
userfolder = evalin('base','userpath');
if strcmp(userfolder(end),pathsep)
userfolder = userfolder(1:end-1);
end
savepath(fullfile(userfolder,'pathdef.m'));
try
copyfile(fullfile(fullpath,'kernel','StandardRoutines','ita_startup.m'), fullfile(userfolder,'startup.m'))
......
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