view m-toolbox/m/gui/gltpda/ltpdalib.m @ 11:9174aadb93a5 database-connection-manager

Add LTPDA Repository utility functions into utils.repository
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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