Mercurial > hg > ltpda
annotate m-toolbox/classes/+utils/@helper/getExtensionDirs.m @ 1:2014ba5b353a database-connection-manager
Remove old code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Sat, 03 Dec 2011 18:13:55 +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 |