Mercurial > hg > ltpda
comparison m-toolbox/user_libraries/mrh/mrhlib.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 mrhlib() | |
2 % MRHLIB Open Martin's Package Library. | |
3 % | |
4 % MRHLIB opens the latest version of LTPDA Library Blockset. | |
5 % | |
6 % | |
7 % $Id: ltpdalib.m,v 1.2 2008/02/09 17:04:19 nicola Exp $ $Date: 2008/02/09 17:04:19 $ | |
8 % | |
9 | |
10 if ~isempty(nargchk(0,0,nargin)) | |
11 error('ltpda:mrhlib:invalidnumberinputs','Too many inputs'); | |
12 end | |
13 | |
14 % Attempt to open library: | |
15 model = 'ltpda_library_mrh'; | |
16 | |
17 try | |
18 open_system(model); | |
19 catch | |
20 error('ltpda:mrhlib:invalidmodelname',['Could not find Martin''s Library (' model '.mdl).']); | |
21 end | |
22 | |
23 % end of mrhlib.m |