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

基于MATCOM的MATLAB与VC++之间的混合编程
引用本文:高秋燕.基于MATCOM的MATLAB与VC++之间的混合编程[J].电子测试,2012(11):69-72.
作者姓名:高秋燕
作者单位:中北大学信息与通信工程学院,山西太原,030051
摘    要:利用MATCOM与VC进行接口通信的优点,介绍了一种基于MATCOM的MATLAB与VC++之间混合编程的方法、步骤及实例,文中以卡尔曼滤波器为实例来进行详细的说明。此方法以MATCOM为转换工具,将.m文件转化为C++代码,而且还将MATCOM与VC++相结合进行了图形绘制,以及利用VC++中MFC可以生成良好界面的功能,通过对控件编程,利用按钮来显示出图形。这种串口通信的混合编程方法,不仅能充分发挥两种语言各自的优势,并且可以脱离MATLAB来独立运行,此方法既简便、方便又有很强的可操作性。

关 键 词:VC++  MATLAB  MATCOM  混合编程

Mixed programming of MATLAB and VC++ based on MATCOM
Gao Qiuyan.Mixed programming of MATLAB and VC++ based on MATCOM[J].Electronic Test,2012(11):69-72.
Authors:Gao Qiuyan
Affiliation:Gao Qiuyan (North University of China,School of Information and Communication Engineering, Taiyuan 030051)
Abstract:This paper analyses methods、process and detailed example of mixed programming using of the advantages of port communication between MATLAB and VC++.This is to be conduct detailed illustrating using an example of Kalman filter .MATCOM is a converting tool that can convert .m file to C++ codes ,and it can be used to drawing figures combining MATLAB and VC++.MFC can produce friendly software interface ,which it can use button to show figures by programming to button. This serial communcation method can not only take full advantages of MATLAB and VC,but also run independently without MATLAB .This method is simple、 convenient and strong operational.
Keywords:VC++  MATLAB  MATCOM  mixed programming
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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