在虚拟仪器中实现LabVIEW与MATLAB的无缝链接①.PDF
文本预览下载声明
2012 年 第 2 1 卷 第 11 期 计 算 机 系 统 应 用
①
在虚拟仪器中实现LabVIEW 与MATLAB 的无缝链接
王水鱼, 王小娟
(西安理工大学 自动化与信息工程学院, 西安 710048)
摘 要: LabVIEW 和 MATLAB 是目前工程技术中广泛应用的两种软件, 在 LabVIEW 中通过调用 MATLAB, 实
现 LabVIEW 和 MATLAB 的无缝链接, 充分利用 MATLAB 丰富地函数库和强大地科学计算与数据处理能力, 取
长补短, 从而大大地拓展了 LabVIEW 的开发功能. 详细地介绍了在 LabVIEW 中通过调用MATLAB Script 节点,
实现 LabVIEW 和 MATLAB 的无缝链接的方法, 并通过两个实例说明了 LabVIEW 和 MATLAB 无缝链接的可行
性以及二者优势互补所带来的优越性.
关键词: 虚拟仪器; LabVIEW ; MATLAB; MATLAB Script 节点; Math Script 节点
Seamless Integration of LabVIEW and MATLAB in the Virtual Instruments
WANG Shui-Yu, WANG Xiao-Juan
(College of Automatic and Information, Xi’an University of Technology, Xi’an 710048, China )
Abstract: LabVIEW and MATLAB are two kinds of popular software that widely used in the engineering project
technical, by calling the MATLAB in LabVIEW to implement the seamless links, and make full use of Matlab’s rich
functions, strong scientific computing and data processing ability, complement each other, which can greatly improve
the development of the virtual instrument function. aslo the LabVIEW by calling in the MATLAB Script node is
introduced in detail. Finally, Realized the seamless links between LabVIEW and MATLAB, using two examples shows
the superiority of feasibility of LabVIEW and MATLAB seamless links as well as the two complementary advantages.
Key words: virtal instrument; LabVIEW; MATLAB; MATLAB script node; Math Script node
LabVIEW 是图形化开发环境, 又称 G 语言, 是指 用, 充分利用 LabVIEW 图形化设计语言的优点和
通过应用程序将计算机与功能化模块结合起来, 利用 MATLAB 强大的数据处理能力, 从而可方便、直观地
了图形化编程方式的高性能和灵活性, 为数据采集、 进行设计、分析与计算, 大大提高工作效率.
仪器控制、测量分析与图像显示等各种应用提供必要
的开发工具, 是一种目前发展很快、功能强大、国内 1 LabVIE
显示全部