Mercurial > hg > ltpda
view m-toolbox/classes/@ltpda_uoh/fromDataInMAT.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 source
% FROMDATAINMAT Default method to convert a data-array into am ltpda_uoh %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % FUNCTION: fromDataInMAT % % DESCRIPTION: Convert a saved data-array into an AO with a tsdata-object % % CALL: obj = fromDataInMAT(obj, data-array, plist) % % PARAMETER: data-array: data-array % plist: plist-object (must contain the filename) % % VERSION: $Id: fromDataInMAT.m,v 1.2 2010/10/29 12:43:26 ingo Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function obj = fromDataInMAT(obj, data, pli) error('### This mat-file doesn''t contain a %s-object', class(obj)); end