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

VB与Matlab的混合编程方法
引用本文:冯莉,李巨,邓云华,DENG Yun-hua.VB与Matlab的混合编程方法[J].兵工自动化,2005,24(5):110-112.
作者姓名:冯莉  李巨  邓云华  DENG Yun-hua
作者单位:中国工程物理研究院,流体物理研究所,四川,绵阳,621900;中国工程物理研究院,流体物理研究所,四川,绵阳,621900;中国工程物理研究院,流体物理研究所,四川,绵阳,621900;中国工程物理研究院,流体物理研究所,四川,绵阳,621900
摘    要:VB与Matlab混合编程方法,通过建立VB与Matlab间的ActiveX连接,实现VB应用程序中调用Matlab,建立与Matlab ActiveX服务器的连接.该方法通过利用ActiveX技术、应用DDE与Matlab通讯、使用MatrixVB、生成执行文件、编译动态链接库等步骤实现.其Matlab软件提供m函数编译为COM组件工具,使用该工具可方便制作出相关COM组件,以供其它支持COM的编程语言调用,实现Matlab和其他编程语言的整合.

关 键 词:Matlab  VB  ActiveX  编程方法
文章编号:1006-1576(2005)05-0110-03
收稿时间:2005-04-30
修稿时间:2005-06-19

Method of Hybird Programming with VB and Matlab
FENG Li,LI Xi-qing,LI Ju,DENG Yun-hua.Method of Hybird Programming with VB and Matlab[J].Ordnance Industry Automation,2005,24(5):110-112.
Authors:FENG Li  LI Xi-qing  LI Ju  DENG Yun-hua
Affiliation:Institute of Fluid Physics, China Academy of Engineering Physics, Mianyang 621900, China
Abstract:For the hybrid programming method for VB and Matlab, the calling of Matlab in VB application program was realized through establishing linkage between VB and Matlab ActiveX server. The the hybrid programming method for VB and Matlab was actualized by steps of making use of Active technology and MatrixVB, application of communication between DDE and Matlab, establishment of execution file, compiling dynamic link base etc.The Matlab software offered m function to compile COM component tools and relative COM components was made with the tools for other compiling languages to call. At last, the conformity between Matlab and other programmed language was achieved.
Keywords:Matlab  VB ActiveX  Programming method
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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