Mercurial > hg > ltpda
view m-toolbox/classes/@ltpda_uo/load.m @ 27:29276498ebdb database-connection-manager
Remove LTPDARepositoryManager implementation
* * *
Remove GUI helper
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +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