diff m-toolbox/m/gui/gltpda/ltpdalib.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/m/gui/gltpda/ltpdalib.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,27 @@
+function ltpdalib()
+%LTPDALIB Open LTPDA Package Library.
+%
+%  LTPDALIB opens the latest version of LTPDA Library Blockset.
+%
+%
+%  Other information available for the LTPDA Blockset:
+%    help ltpda      - to view the Contents file
+%
+
+% N Tateo
+% $Id: ltpdalib.m,v 1.1 2008/03/01 13:43:20 nicola Exp $  $Date: 2008/03/01 13:43:20 $
+
+if ~isempty(nargchk(0,0,nargin))
+   error('ltpda:ltpdalib:invalidnumberinputs','Too many inputs');
+end
+
+% Attempt to open library:
+model = 'ltpda_library';
+
+try
+   open_system(model);
+catch
+   error('ltpda:ltpdalib:invalidmodelname',['Could not find LTPDA Library (' model '.mdl).']);
+end
+
+% end of ltpdalib.m