作者:吴莹, 秦树人
作者单位:重庆大学测试中心, 重庆 400044
关键词:虚拟仪器; VC++; MATLAB; 动态连接库; 数字滤波分析仪
摘要:
分析了目前虚拟仪器的开发环境,以虚拟仪器的开发特点及应用为基础,对VC++和Matlab相融合技术进行了研究,提出了一种利用MATLAB与VC++混合编程构建虚拟仪器的技术,并以虚拟式数字滤波分析仪为例,实现了此技术在虚拟仪器中的应用,充分发挥了VC++开发用户界面,发送控制信息的优越性,以及Matlab强大的信号处理功能。
Realization and application of mixed programming with MATLAB and VC++ based on virtual instrument
WU Ying, QIN Shu-ren
Test Center, Chongqing University, Chongqing, 400044, China
Abstract: This article discussed the R & D environment of Virtual Instrument(VI).Based on the characteristics of VI's development and application,the technique of Mixed Programming with MATLAB and VC was researched,and a method based on this technique to design VIs was put forward.Finally,an example of digital filter analytical instrument demonstrated realization of this method by making full use of VC++ in generating user graphic interfaces and MATLAB in signal processing.
Keywords: Virtual instrument; VC++; MATLAB; Dynamic link library; Digital filter; Analytical instrument
2006, 32(2): 108-110,126 收稿日期: 2005-6-17;收到修改稿日期: 2005-8-25
基金项目: 重庆市科学技术重点项目(2003-7707)
作者简介: 吴莹(1980-),女,陕西西安人,硕士研究生,主要从事数字信号处理和虚拟仪器方面的研究工作。
参考文献
[1] 秦树人,等.智能控件化虚拟仪器系统[M].北京:科学出版社,2004,5:1-12,153-183.
[2] 飞思科技产品研发中心.MATLAB7辅助信号处理技术与应用[M].北京:电子工业出版社,2005:28-34.
[3] 陈永春.从Matlab/Simulink模型到代码实现[M].北京:清华大学出版社,2002:93-138.
[4] MATLAB Compiler,The Math Works,Inc,2005,3.
[5] MATLAB Compiler Release note,http://www.mathworks.com/products/.
[6] Josephgiarratano.Expert Systems Principles and Programming.PWS Publishing Company,2000,5.