Archive

Archive for the ‘MATLAB’ Category

MATLAB的面向对象编程

June 30th, 2008

很久没有关注MATLAB了,大学里面写的最多的代码就是MATLAB了,:),更多的时间,更喜欢把MATLAB作为一种编程语言,而不仅仅是一款软件.

工作以来,虽然没有机会在使用MATLAB,不过还是一直挺关注的.在最新的MATLAB 2008a中,增加了面向对象的特性.这样就可以在MATLAB的m文件里面写类,写事件了.使得MATLAB更加的灵活了.与其他语言的协同也会更加的方便.

MATLAB越来越趋于一个向一个编程语言发展了.看了下面的特性,觉得还是蛮期待的.

Key Features
  • Class definition files, enabling definition of properties, methods, and events
  • Handle classes with reference behavior, aiding the creation of data structures such as linked lists
  • Events and listeners, allowing the monitoring of object property changes and actions
  • JIT-Accelerator support, providing significantly improved object performance
  • Development environment support for the creation and use of classes

MATLA在混合编程方面也更加强大了,引入了面向对象之后,和C++,Java,Ruby,Python这些语言结合的时间,会更加的便利.

可以到这里看看利用MATLAB开发类的视频

Author: 刘浏 Categories: MATLAB Tags: , , ,