diff m-toolbox/classes/@ltpda_nuo/fromStruct.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_nuo/fromStruct.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,23 @@
+% FROMSTRUCT sets all properties which are defined in the ltpda_nuo class from the structure to the input object.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% FUNCTION:    fromStruct
+%
+% DESCRIPTION: Sets all properties which are defined in the ltpda_nuo class
+%              from the structure to the input object.
+%
+% REMARK:      Abstract classes handle only one input object and a
+%              structure with the size 1.
+%
+% CALL:        obj = fromStruct(obj, struct)
+%
+% VERSION:     $Id: fromStruct.m,v 1.1 2010/12/20 20:41:40 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function obj = fromStruct(obj, obj_struct)
+  
+  % Call super-class
+  obj = fromStruct@ltpda_obj(obj, obj_struct);
+  
+end