0

I just discovered that Matlab has implemented classes, but I can't find any information as to how long this feature has existed. Does anybody know if the classes defined by classdef are backwards compatible with older versions of matlab?

If so, how far back?

chappjc
  • 30,359
  • 6
  • 75
  • 132
Louis Thibault
  • 20,240
  • 25
  • 83
  • 152
  • Looks like at least as far back as 2008a: http://www.mathworks.com/company/newsletters/articles/introduction-to-object-oriented-programming-in-matlab.html – Dan Feb 01 '13 at 15:41
  • @Dan, Great, thanks! Feel free to add this as an answer and I'll accept it. – Louis Thibault Feb 01 '13 at 15:42
  • Yup found the same in http://wikis.controltheorypro.com/index.php?title=MATLAB_2009a_Class_Definition Apparently since 2008a they made it much easier "The new objects in MATLAB 2008a and beyond are much simpler to create and can be built, easily, in one file." – SamGamgee Feb 01 '13 at 15:43

1 Answers1

2

Looks like it started in 2008a:

http://www.mathworks.com/company/newsletters/articles/introduction-to-object-oriented-programming-in-matlab.html

and also

http://www.cs.ubc.ca/~murphyk/Software/matlabTutorial/html/objectOriented.html

Dan
  • 45,079
  • 17
  • 88
  • 157
  • 1
    @blz: note that there were some bugs in R2008a that were fixed in the following release; I tell my collaborators to install at least 2008b. – Jonas Feb 01 '13 at 16:00