Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAprefs/getPreferences.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 % GETPREFERENCES returns the LTPDA preference instance. | |
2 % | |
3 % Call: LTPDAprefs.getPreference() | |
4 % | |
5 % Parameters: | |
6 % - | |
7 % | |
8 % Version: | |
9 % $Id: getPreferences.m,v 1.1 2010/11/29 19:35:56 ingo Exp $ | |
10 % | |
11 | |
12 function prefs = getPreferences | |
13 prefs = getappdata(0, 'LTPDApreferences'); | |
14 if isempty(prefs) | |
15 error('### No LTPDA Preferences found in memory. Please run ltpda_startup.'); | |
16 end | |
17 end |