Abstract:
This paper presents an approach to integrate simulation model with Visual C++ easily by translating simulation model to embedded C++ codes. The advantages of Simulink and Visual C++ are fully used by this approach. According to a real example the development steps and realization of HILM system based on this approach is discussed.
Key words:
RTW,
HILM,
Simulink,
Visual C++
摘要: 通过RTW将Simulink仿真模型转化成可移植的嵌入式C++代码,提供了一种从Simulink仿真模型平滑过渡到Visual C++集成开发环境的方法,该方法充分利用了Simulink丰富便捷的建模环境,发挥了VC强大的硬件控制功能和人机界面设计灵活的优点。并结合科研实例介绍了利用该方法开发半物理仿真系统的具体步骤和实现方法。
关键词:
实时工作间,
半物理仿真,
Simulink,
Visual C++
CLC Number:
CHANG Guang-hui; WANG Yong-sheng; LIANG Shu-hai; WANG Xue-shan. Development of HILM System Based on RTW and VC[J]. Computer Engineering, 2007, 33(17): 283-封三.
常广晖;王永生;梁述海;王雪山. 基于RTW和VC的半物理仿真系统的开发[J]. 计算机工程, 2007, 33(17): 283-封三.