Mercurial > repos > public > matlab_path_manager
changeset 4:38c29c9ba07f
Add function for showing the state
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Mon, 10 Sep 2018 15:21:49 +0200 |
| parents | ce34182c274e |
| children | 6c46515ee860 |
| files | +mpm/info.m |
| diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/+mpm/info.m Mon Sep 10 15:21:49 2018 +0200 @@ -0,0 +1,10 @@ +function info() + state = mpm.load_state(); + + fprintf('Loaded subpaths:\n') + + subpaths = state.added_paths.keys(); + for i = 1:length(subpaths); + fprintf('\t%s\n', subpaths{i}); + end +end
