view m-toolbox/m/gui/gltpda/ltpdalib.m @ 51:9d5c88356247 database-connection-manager

Make unit tests database connection parameters configurable
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +0100
parents f0afece42f48
children
line wrap: on
line source

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