Mercurial > repos > public > matlab_path_manager
view +mpm/subpaths.m @ 12:ead7c7021ad9
Edit README.md
author | Jonatan Werpers <jonatan.werpers@it.uu.se> |
---|---|
date | Mon, 10 Sep 2018 15:40:45 +0000 |
parents | f37b4c00a863 |
children |
line wrap: on
line source
function sp = subpaths(d) if ~exist('d', 'var') || isempty(d) d = ''; end try fstr = fileread(fullfile(d, '.subpaths')); catch error('Subpath definition file ''.subpaths'' not found.') end sp = splitlines(strtrim(fstr)); end