comparison m-toolbox/classes/+utils/@helper/getExtensionDirs.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
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