摘要
介绍了一种利用ActiveX控件开发用户界面并嵌入到Maflab仿真环境,以方便用户进行初值设定、实时传参以及试验过程控制的方法。首先介绍了ActiveX控件的特点及其优势,然后重点研究了ActiveX控件与Matlab的接口问题。在此基础上以Matlab/xPC实时仿真环境为例详细介绍了将ActiveX控件嵌入到Matlab仿真环境的实现过程。最后给出了这种技术在实际工程项目中的一个应用实例。
This paper discussed a method to developed user interface and embedded it in the Matlab simulation environment to achieve the initial settings for Matlab simulation, the real - time parameters transferring and the control of experiments by using ActiveX controls. First this paper introduces the features and advantages of ActiveX controls, and then focus on the interface between ActiveX controls and Matlab simulation environment. Based on these we detailed the steps of embed ActiveX controls into the Matlab simulation environment. Finally we present an example of this technology in practical projects.
出处
《系统仿真技术》
2008年第1期66-70,共5页
System Simulation Technology
关键词
控件
仿真环境
接口设计
controls
simulation environment
the interface design