Mercurial > hg > ltpda
view m-toolbox/classes/@ltpda_uo/load.m @ 52:daf4eab1a51e database-connection-manager tip
Fix. Default password should be [] not an empty string
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:29:47 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% LOAD Loads LTPDA objects from a file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % FUNCTION: load % % DESCRIPTION: Load ltpda user objects from a file % % CALL: objs = <classname>.load(filename) will give a vector with all the objects % [obj1, obj2, ...] = <classname>.load(filename) will give a list with single objects % % <classname> can be any of the ltpda_uo (ao, smodel, matrix, plist, ...) % % VERSION: $Id: load.m,v 1.3 2011/05/12 10:46:37 mauro Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function varargout = load(varargin) % Get the filename filename = varargin{1}; % Loads the objects. These are always stored inside a 'objs' variable load(filename); % Set output varargout = utils.helper.setoutputs(nargout, objs); end