comparison +mpm/install_location.m @ 1:2007c2cd566a

Add some functions for handeling state
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 10 Sep 2018 14:55:47 +0200
parents
children
comparison
equal deleted inserted replaced
0:a549d0cd3775 1:2007c2cd566a
1 function p = install_location()
2 nameCurrentFile = mfilename('fullpath');
3 pathParts = split(nameCurrentFile, filesep);
4
5 p = join(pathParts(1:end-2), filesep);
6 p = p{1};
7 end