期刊文献+

基于RTW的C代码生成及其在汽车ECU开发中的应用 被引量:4

C-code Generation Based on RTW and Its Application in the Development of Automotive ECUs
下载PDF
导出
摘要 Real-time workshop(RTW)可将Matlab/Simulink中的图形化设计模块生成用户目标所需的C语言代码,极大地方便了汽车电子ECU的软件开发。介绍了基于RTW的嵌入式C语言代码自动生成技术,分析RTW对微控制器的支持,代码效率的影响因素及代码优化方法,并进行代码的生成、移植和测试。实例证明,RTW生成标准C语言代码的效率高,代码执行快,可读性强,适用于所有资源足够的8位微控制器。 Real-time workshop makes it possible to covert the diagram model in Matlab/Simulink into the target C-code,which benefits the development of the software system of automotive ECUs a lot.This paper introduces the relative techniques of the C-code generation based on RTW,and analyses the supported MCU platforms of RTW and the factors affecting code efficiency,then conducting code porting and testing.Experimental results show that the Ccode generated from RTW has the advantages of high efficiency,nice readability,and is suitable for any 8-bit MCU having enough resources.
出处 《机电一体化》 2014年第A03期41-45,共5页 Mechatronics
基金 国家863项目(编号2011AA11A265)
关键词 RTW代码生成 代码执行效率 代码优化 代码移植 RTW code generation code execution efficiency code optimization code transplantation
  • 相关文献

参考文献6

二级参考文献13

  • 1杨向忠,崔文革,范智刚.MATLAB产品在机载软件开发中的应用[J].系统仿真学报,2005,17(z2):64-67. 被引量:1
  • 2李兴玮,张卫华,潘玉林,黄柯棣.通用计算机实时仿真技术[J].国防科技大学学报,2005,27(2):75-79. 被引量:13
  • 3[2]Hong K H,Gan W S,Choong Y K,et al.An integrated environment for rapid prototyping of DSP algorithms using MATLAB and TMS320C30.Microprocessors and Microsystems,2000;24 (7):349-363
  • 4Bob Kilbride.Windows NT and Windows 2000 for real-time applications[C].Venturcom,Inc.2003.
  • 5Bill Carpenter,Mark Roman,Kick Vasilatos and Myron Zimmerman.The RTX Real-Time Subsystem for Windows NT[C].Proceedings of the USENIX Windows NT Workshop.Washington,August 1997.
  • 6A O John,I V Keefe.Addressing Requirements of Today's Simulation and Training on Wintel Platforms[R].Hummingbird Computing Inc.2003.
  • 7Martin Hall.Windows Sockets-An Open Interface for Network Programming under Microsoft Windows[N].Document,1993.
  • 8Tom Erkkinen. Model style guidelines for flight code genration[C]// AIAA Modeling and Simulation Technologies Conference and Exhibit. Aug. 2005. AIAA-2005-6216.
  • 9Kelly Bletsis and Tonny Lennon. Moving to modelbased design [EB/OL]. http://www. mathworks. com/company/newsletters/news _ notes/dec04/ mbd. html.
  • 10Real-Time Workshops (r) Embedded Coder User' s Guide[Z]. Sept. 2007.

共引文献25

同被引文献23

引证文献4

二级引证文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部