首页> 外文会议>SAE World Congress >Methods for Interfacing Common Utility Services in Simulink Models Used for Production Code Generation
【24h】

Methods for Interfacing Common Utility Services in Simulink Models Used for Production Code Generation

机译:用于在用于生产代码生成的Simulink模型中接口常用公用事业服务的方法

获取原文

摘要

Traditionally, code generated from Simulink models has been incorporated into production applications in a manner similar to hand-written code. As the size of the content created in Simulink has grown, so has the desire to do more integration in Simulink. Integrating content from C/C++ calling environments directly into Simulink blocks rather than just calling external legacy code prevents errors and preserves signal flow visibility in the Simulink models. Although much of the application content has transitioned to Simulink models, most of the Common Utility Services (e.g., communications, diagnostics, and nonvolatile memory) still exist in C/C++ libraries. While application content changes frequently, Common Utility Service content changes infrequently and is heavily leveraged across many applications. Therefore, it is often desirable to call these Common Utility Services from their existing C/C++ libraries rather than porting them to be generated directly from Simulink models. Many common services do not fit easily into a constant parameter and dynamic signal flow approach that is typical of Simulink models. This paper examines methods used for creating custom blocks and non-graphically represented code to create a Simulink interface to these Common Utility Services.
机译:传统上,以类似于手写代码的方式已将来自Simulink模型生成的代码已被整合到生产应用中。随着在Simulink中创建的内容的大小生长,因此希望在Simulink中执行更多集成。将内容从C / C ++调用环境直接集成到Simulink块中,而不是仅调用外部遗留码,防止错误并保留Simulink模型中的信号流可见性。虽然许多应用程序内容过渡到Simulink模型,但C / C ++库中仍存在大多数常用公用事业服务(例如,通信,诊断和非易失性存储器)。虽然应用程序内容经常更改,但常见的公用事业服务内容不经常更改,并且在许多应用程序中都有大量利用。因此,通常希望从现有的C / C ++库中调用这些常用实用程序服务,而不是将它们从Simulink模型中直接生成。许多常用服务不容易进入常用的参数和动态信号流法,这是Simulink模型的典型。本文检查了用于创建自定义块和非图形表示的代码的方法,以创建这些常用公用事业服务的Simulink接口。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号