Mercurial > hg > ltpda
annotate m-toolbox/classes/+utils/@helper/getExtensionDirs.m @ 49:0bcdf74587d1 database-connection-manager
Cleanup
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:36 +0100 |
parents | f0afece42f48 |
children |
rev | line source |
---|---|
0 | 1 function varargout = getExtensionDirs(varargin) |
2 | |
3 % Get a list of user extension directories | |
4 prefs = getappdata(0, 'LTPDApreferences'); | |
5 searchPaths = prefs.getExtensionsPrefs.getSearchPaths; | |
6 paths = {}; | |
7 for kk=0:searchPaths.size-1 | |
8 paths = [paths {char(searchPaths.get(kk))}]; | |
9 end | |
10 | |
11 varargout{1} = paths; | |
12 | |
13 end |