我刚刚发现 Matlab 已经实现了类,但我找不到任何关于这个功能存在多长时间的信息。 有谁知道classdef
定义的类是否与旧版本的 matlab 向后兼容?
如果是这样,可以追溯到多远?
看起来它始于 2008a:
http://www.mathworks.com/company/newsletters/articles/introduction-to-object-oriented-programming-in-matlab.html
还有
http://www.cs.ubc.ca/~murphyk/Software/matlabTutorial/html/objectOriented.html