节点文献
C++Builder与MATLAB/SIMULINK的接口
Employing MATLAB Engine in C++Builder
【摘要】 MATLAB/SIMULINK由于其丰富的工具箱,开放的可扩展环境,作为系统仿真计算软件被世界上绝大部分的工程技术和研究人员所喜爱。但开发者在实际应用中往往会发现MATLAB/SIMULINK应用程序的用户界面设计是那么地困难!为了给MATLAB模块程序配置通用友好的用户界面,并结合C++Builder界面设计灵活且交互性强的特点及MATLAB快速的矩阵计算和卓越的数值可视化能力,该文提出了利用MATLABEngine来作为C++Builder程序与SIMULINK数据通讯的载体,进而实现对MATLAB/SIMULINK的完全操纵。利用这一方法,作者开发了异步电机起动/发电仿真系统的界面,成功地进行了系统的仿真运行,并取得了良好的预期效果。
【Abstract】 MATLAB/SIMULINK is beeing used as a simulating and computing software since it’s an abundant toolbox and extensive programming interface. But, developers always find it difficult to design MATLAB/SIMULINK’s user interface in work. The full control of MATLAB/SIMULINK in application of C++Builder is realized through MATLAB Engine Interface. The advantage in flexible and strongly interactive design of interfaces is developed when C++Builder is used in MATLAB. In this paper, the interface of induction machine’s starter/generator simulation system is designed based on above mentioned program strategy, and some experimental results are presented.
【Key words】 Interface design; Mixed program; System simulation; Program interface;
- 【文献出处】 计算机仿真 ,Computer Simulation , 编辑部邮箱 ,2004年10期
- 【分类号】TP319
- 【被引频次】6
- 【下载频次】448