Mercurial > repos > public > matlab_path_manager
view +mpm/subpaths.m @ 13:c7b137768e7c
Merge
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 11 Sep 2018 14:08:49 +0200 |
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