Mercurial > hg > ltpda
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/user_libraries/mrh/mrhlib.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,23 @@ +function mrhlib() +% MRHLIB Open Martin's Package Library. +% +% MRHLIB opens the latest version of LTPDA Library Blockset. +% +% +% $Id: ltpdalib.m,v 1.2 2008/02/09 17:04:19 nicola Exp $ $Date: 2008/02/09 17:04:19 $ +% + +if ~isempty(nargchk(0,0,nargin)) + error('ltpda:mrhlib:invalidnumberinputs','Too many inputs'); +end + +% Attempt to open library: +model = 'ltpda_library_mrh'; + +try + open_system(model); +catch + error('ltpda:mrhlib:invalidmodelname',['Could not find Martin''s Library (' model '.mdl).']); +end + +% end of mrhlib.m