Difference between revisions of "OO Programming in Matlab"

From SUMOwiki
Jump to navigationJump to search
Line 1: Line 1:
There are plenty of unusual and confusing aspects to Matlab Object Oriented (OO) programming, so we strongly advice potential developers to read the Matlab documentation on object oriented programming thoroughly.  Luckily the situation has improved somewhat with the introduction of Matlab R2008.  
+
There are plenty of unusual and confusing aspects to Matlab Object Oriented (OO) programming, so we strongly advice potential developers to read the Matlab documentation on object oriented programming thoroughly.  Luckily the situation has improved somewhat with the introduction of Matlab R2008.  Starting from version 6.1 the SUMO Toolbox mostly uses the new OO system as introduced in Matlab 2008a.  Note though that some classes (most notably ModelBuilders and Measures) still use the old system.  This will be changed in newer versions.
  
 
In any case, it is recommended you do some background reading on Object Oriented (OO) programming in Matlab, even if you are already familiar with an OO language.
 
In any case, it is recommended you do some background reading on Object Oriented (OO) programming in Matlab, even if you are already familiar with an OO language.

Revision as of 17:05, 26 March 2009

There are plenty of unusual and confusing aspects to Matlab Object Oriented (OO) programming, so we strongly advice potential developers to read the Matlab documentation on object oriented programming thoroughly. Luckily the situation has improved somewhat with the introduction of Matlab R2008. Starting from version 6.1 the SUMO Toolbox mostly uses the new OO system as introduced in Matlab 2008a. Note though that some classes (most notably ModelBuilders and Measures) still use the old system. This will be changed in newer versions.

In any case, it is recommended you do some background reading on Object Oriented (OO) programming in Matlab, even if you are already familiar with an OO language. A good starting point is the tutorial available here.

A starting point for Object Oriented Programming in general can be found here.