首页> 中文期刊>电子测试 >基于MATCOM的MATLAB与VC++之间的混合编程

基于MATCOM的MATLAB与VC++之间的混合编程

     

摘要

利用MATCOM与VC进行接口通信的优点,介绍了一种基于MATCOM的MATLAB与VC++之间混合编程的方法、步骤及实例,文中以卡尔曼滤波器为实例来进行详细的说明。此方法以MATCOM为转换工具,将.m文件转化为C++代码,而且还将MATCOM与VC++相结合进行了图形绘制,以及利用VC++中MFC可以生成良好界面的功能,通过对控件编程,利用按钮来显示出图形。这种串口通信的混合编程方法,不仅能充分发挥两种语言各自的优势,并且可以脱离MATLAB来独立运行,此方法既简便、方便又有很强的可操作性。%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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号