首页> 中文期刊> 《科学技术与工程》 >Matlab/Simulink与VC++混合编程的实现

Matlab/Simulink与VC++混合编程的实现

         

摘要

在控制系统的建模和仿真中,由Simulink生成的模型不能脱离Matlab环境运行.为了便于后期实时仿真模型的开发,需要利用Real-Time-Workshop(简称RTW)实时代码生成器将Simulink模型转换成目标语言模型,并与VC进行混合编程,从而实现由Simulink模型到VC开发环境的平滑过渡.重点探讨了利用RTW实现从模型到代码转换的具体步骤,并验证了该方法的有效性.%In the modeling and simulation of control systems, generated by the Simulink model can not be divorced from the Matlab environment running. In order to facilitate the development of the late real-time simulation, Simulink model need to be converted to the target language model by using RTW(Real-Time Workshop, referred to as RTW) real-time code generation. Then mixed programming with VC, to achieve a smooth transition from the Simulink model to the development of the VC environment Specific steps to use RTW to achieve the transition from model to code are focuses on, and finally verifies the validity of the method.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号