Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAworkbench/cb_rebuildLibrary.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 % CB_REBUILDLIBRARY rebuild the LTPDA library | |
2 % | |
3 % M Hewitson 18-01-09 | |
4 % | |
5 % $Id: cb_rebuildLibrary.m,v 1.4 2011/03/31 14:51:11 hewitson Exp $ | |
6 % | |
7 function cb_rebuildLibrary(varargin) | |
8 | |
9 wb = varargin{1}; | |
10 | |
11 if isempty(wb) | |
12 lib = LTPDAworkbench.rebuildLibrary(); | |
13 else | |
14 lib = LTPDAworkbench.rebuildLibrary(wb); | |
15 end | |
16 c = mfilename('fullpath'); | |
17 d = fileparts(c); | |
18 | |
19 save(fullfile(d,'lib.mat'), 'lib'); | |
20 | |
21 end |