view +mpm/subpaths.m @ 7:309cc6c0cd75

Change names in ui
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 10 Sep 2018 17:05:03 +0200
parents 19c4af287596
children f37b4c00a863
line wrap: on
line source

function sp = subpaths(d)
    if ~exist('d', 'var') || isempty(d)
        d = '';
    end

    % TODO: Nice error message if file doesn't exist
    fstr = fileread(fullfile(d, '.subpaths'));
    sp = splitlines(strtrim(fstr));
end