摘要
对Matlab和LabVIEW的混合编程进行了探讨,主要研究SIT软件包和动态链接库(DLL)两种技术,并在此基础上以单相半波电路实验为例详细介绍了构建虚拟电力电子实验室的方法及各自的技术优点。通过对比,SIT技术可以使得LabVIEW调用Matlab的过程变的简单,易于实现,但不能脱离Matlab环境,而动态链接库(DLL)技术实现的过程比较复杂,却可以完全脱离Matlab编程环境。两种方法都成功实现了软件仿真及虚拟实验室的Web发布。
In recent years, virtual laboratory technology has won our high favor in areas of teaching and research owning to its advantages, such as good interactivity and undemanding requirements for hardware. This article discusses the mixed programming of Matlab and LabVIEW. Then, two kinds of technology--SIT software package and DLL are mainly studied. On this basis, a detailed account of the methods of building a virtual electronic power laboratory and respective technical advantages are given, by taking a single-phase half-wave circuit experiment as an example. By contrast, SIT can make the calling process of Matlab in LabVIEW and its implementation simple and easy, but it can not be separated from the Matlab environment. The realization process of DLL technology is more complex, but it can be completely detached from the Matlab environment. Both methods can successfully achieve software simulation and web publishing of virtual laboratory.
出处
《实验室研究与探索》
CAS
北大核心
2014年第4期62-64,67,共4页
Research and Exploration In Laboratory