diff m-toolbox/classes/@ltpda_uoh/fromDatafile.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/fromDatafile.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,21 @@
+% FROMDATAFILE Default method to convert a data-file into a ltpda_uoh-object
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% FUNCTION:    fromDatafile
+%
+% DESCRIPTION: Default method to convert a data-file into a ltpda_uoh-object
+%
+% CALL:        obj = fromDatafile(obj, pli)
+%
+% PARAMETER:   obj: empty ltpda_uoh-object
+%              pli: plist-object (must contain the filename)
+%
+% VERSION:     $Id: fromDatafile.m,v 1.3 2010/10/29 12:43:26 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function obj = fromDatafile(obj, pli)
+
+  error('### It is not possible to convert this data file into a %s-object', class(obj));
+
+end