comparison +mpm/subpaths.m @ 2:a9795512f33a

Fix naming of function for getting subpaths
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 10 Sep 2018 14:59:21 +0200
parents +mpm/subpackages.m@a549d0cd3775
children 19c4af287596
comparison
equal deleted inserted replaced
1:2007c2cd566a 2:a9795512f33a
1 function sp = subpaths(d)
2 if ~exist('d', 'var') || isempty(d)
3 d = pwd;
4 end
5
6 % TODO: Nice error message if file doesn't exist
7 fstr = fileread('.subpaths');
8 sp = splitlines(strtrim(fstr));
9 end