首页 | 本学科首页   官方微博 | 高级检索  
     

基于COM的Matlab与C++Builder混合编程
引用本文:刘先勇,胡劲松,周方洁,李红雷.基于COM的Matlab与C++Builder混合编程[J].计算机工程,2004,30(15):60-61,110.
作者姓名:刘先勇  胡劲松  周方洁  李红雷
作者单位:1. 北京理工大学信息科学与技术学院博士后流动站;宁波理工监测设备有限公司(博士后工作站),宁波,315800
2. 宁波理工监测设备有限公司(博士后工作站),宁波,315800;浙江大学机械系博士后流动站
3. 宁波理工监测设备有限公司(博士后工作站),宁波,315800
4. 宁波理工监测设备有限公司(博士后工作站),宁波,315800;清华大学电机系博士后流动站,北京,100084
基金项目:宁波市青年科学基金资助项目(02J20102-04)
摘    要:以实例展示了通过Matlab6.5制作、并在C Builder5环境中调用COM组件的混合编程方法。给出了设置Matlab COM Builder编译环境的具体步骤,编译生成了与Microsoft Windows相兼容的COM组件;在c Builder下调用组件时通过安全数组的化入传出实现了应蹦程序与COM的数据接口,并通过简单的事件响应工程成功调用了所制作的实例组件。

关 键 词:COM  Matlab  C++Builder  混合编程
文章编号:1000-3428(2004)15-0060-02

COM-based Matlab and C++Builder Mixed Programming
LIU Xianyong,HU Jingsong,ZHOU Fangjie,LI Honglei.COM-based Matlab and C++Builder Mixed Programming[J].Computer Engineering,2004,30(15):60-61,110.
Authors:LIU Xianyong  HU Jingsong  ZHOU Fangjie  LI Honglei
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.
Keywords:COM  Matlab  C++Builder  Mixed programming
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号