摘要
介绍了一种基于组件对象模型(Component Object Model,COM)的Matlab与VB混合编程方法。它以Matlab 6.5中的Matlab COM Builder模块为转换工具,将Matlab的M函数文件转换为COM组件后应用在VB程序中。集成后的软件不仅能够充分发挥两种语言各自的优点,还可以完全脱离Matlab的运行环境。提供的实现过程和编程实例均说明此方法简单,方便,可操作性强。
A method of hybrid programming with VB and Matlab is introduced, which is based on COM. By means of Matlab COM builder in Matlab 6.5 as a convertion tool, Matlab's M-function files can be converted into a COM component applied in VB. The integrated software can not only take full advantages of VB and MATLAB, but also run independently without Matlab. The process of realization and a sample program both indicate that this method is simple and convenient.
出处
《计算机工程与设计》
CSCD
北大核心
2005年第1期61-62,65,共3页
Computer Engineering and Design
基金
国家863计划802主题基金项目。