Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAprefs/loadPrefs.m @ 35:4be5f7a5316f database-connection-manager
Suppress output messages on preferences loading and saving
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | f0afece42f48 |
children |
comparison
equal
deleted
inserted
replaced
34:03d92954b939 | 35:4be5f7a5316f |
---|---|
8 % Version: | 8 % Version: |
9 % $Id: loadPrefs.m,v 1.3 2011/04/27 12:45:49 hewitson Exp $ | 9 % $Id: loadPrefs.m,v 1.3 2011/04/27 12:45:49 hewitson Exp $ |
10 % | 10 % |
11 | 11 |
12 function loadPrefs(varargin) | 12 function loadPrefs(varargin) |
13 fprintf('Loading LTPDA preferences from %s ...\n', LTPDAprefs.preffile); | |
14 v = ver('LTPDA'); | 13 v = ver('LTPDA'); |
15 nv = utils.helper.ver2num(v(1).Version); | 14 nv = utils.helper.ver2num(v(1).Version); |
16 prefs = mpipeline.ltpdapreferences.LTPDAPreferences.loadFromDisk(LTPDAprefs.preffile, nv); | 15 prefs = mpipeline.ltpdapreferences.LTPDAPreferences.loadFromDisk(LTPDAprefs.preffile, nv); |
17 | 16 |
18 % Version 2.4 drops support for built-in model directories. | 17 % Version 2.4 drops support for built-in model directories. |