Setting and getting field values of objects

Setting and getting field values of objects

At the Matlab level CSIM allows you to set and get values of fields of objects by means of the commands

  v=csim('get',o,fieldname)
  csim('set',o,fieldname,value)

where o is the handle of the object returned by

  o=csim('create',classname)

and fieldname is a string identifying the field (i.e. the name of the field).

 
(C) 2003, Thomas Natschläger last modified 07/10/2006