计算机与现代化 ›› 2009, Vol. 1 ›› Issue (7): 151-154,.doi: 10.3969/j.issn.1006-2475.2009.07.044

• 应用与开发 • 上一篇    下一篇

VC++调用Matlab的方法

李〓健,韩国栋,孙志鹏   

  1. 国家数字交换系统工程技术研究中心,河南 郑州 450002
  • 收稿日期:2009-04-07 修回日期:1900-01-01 出版日期:2009-07-10 发布日期:2009-07-10

Techniques of VC++ Calling Matlab

LI Jian, HAN Guo-dong, SUN Zhi-peng   

  1. National Digital Switching System Engineering & Technological Research Center, Zhengzhou 450002, China
  • Received:2009-04-07 Revised:1900-01-01 Online:2009-07-10 Published:2009-07-10

摘要: 研究了如何应用VC〖KG-*2〗+〖KG-*2〗+调用Matlab工具内部类的问题。通过Matlab的MCC命令和COM组件的方法实现了对Matlab程序的调用。应用这两种方法不仅可以使程序完全脱离Matlab环境运行,而且能够充分发挥VC和Matlab的优点,大大提高了软件速度和性能。

关键词: VC, Matlab, MCC, COM组件

Abstract: The problem about Matlab progresses transferring to VC〖KG-*2〗+〖KG-*2〗+ is discussed. MCC orders and COM objects are used to achieve this work. These methods can not only disengage Matlab progresses from Matlab circumstance entirely but also make the best use of the characteristic of VC and Matlab. By these methods, speed and capability of software are improved.

Key words: VC, Matlab, MCC, COM objects

中图分类号: