diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@ltpda_uoh/fromDataInMAT.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,20 @@
+% 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