view +mpm/install_location.m @ 23:0b4be0d4e207

Use new class for state management
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 18 Sep 2018 11:52:14 +0200
parents 2007c2cd566a
children
line wrap: on
line source

function p = install_location()
   nameCurrentFile = mfilename('fullpath');
   pathParts = split(nameCurrentFile, filesep);

   p = join(pathParts(1:end-2), filesep);
   p = p{1};
end