摘要: 摘要:以实例展示了通过Mlatlab6.5制作、并在c+十Bu.1der5环境中调用eOM组件的混合编程方法。给出了设置lM譬lab COM Bu.Ider编译环 境的具体步骤,编译生成了与Mierosoft Windows~兼容的e0M组件;在c++Builder下调用组件时通过安全数组的传灭传出实现了应用程序与 COM的数据接n,并通过简单的事件响应工程成功调用了所制作的实例组件。
关键词:
COM,
Matlab,
C++Builder,
混合编程
Abstract: An example is constructed to demonstrate the mixed programming with a COM component made in Matlab6.5 and called in C++ Builder. Detail step is given on setting the compiling environment and a COM component compatible with Microsoft Windows is compiled and made. The data interface between COM component and applications is realized by transferring safe array while calling COM component under C++ Builder, and the example COM component is successfully called by a simple event response project.
中图分类号:
刘先勇,胡劲松,周方洁,李红雷. 基于COM的Matlab与C++Builder混合编程[J]. , 2004, 30(15): 70-.
LIU Xianyong, HU Jingsong, ZHOU Fangjie, LI Honglei. COM-based Matlab and C++Builder Mixed Programming[J]. , 2004, 30(15): 70-.