MATLAB and Simulink Training

嵌入式编码器for Production Code Generation

Course Details

This hands-on, two-day course focuses on developing models in the Simulink®在嵌入式系统上部署的环境。该课程是为打算使用嵌入式编码器生成,验证和自定义代码的金宝appSimulink用户设计的®.

Topics include:

  • Generated code structure and execution
  • 代码生成选项和优化
  • Integrating generated code with external code
  • 生成代码的μltirate systems
  • Customizing generated code
  • Customizing data

Day 1 of 2


Generating Embedded Code

Objective:Configure Simulink models for embedded code generation and effectively interpret the generated code.

  • Architecture of an embedded application
  • System specification
  • Generating code
  • 代码模块
  • 记录中间信号
  • Data structures in generated code
  • Verifying generated code
  • 嵌入式编码器®build process

优化生成的代码

Objective:Identify the requirements of the application at hand and configure optimization settings to satisfy these requirements.

  • 优化考虑
  • Removing unnecessary code
  • 删除不必要的数据支持金宝app
  • Optimizing data storage
  • Profiling generated code
  • Code generation objectives

Integrating Generated Code with External Code

Objective:Modify models and files to run generated code and external code together.

  • 外部代码集成概述
  • Model entry points
  • 创建执行安全带
  • Controlling code destination
  • 包装生成的代码

Controlling Function Prototypes

Objective:自定义生成代码中模型入口点的功能原型。

  • 默认模型功能原型
  • Modifying function prototypes
  • 带有修改功能原型的生成代码
  • Model function prototype considerations
  • Reusable function interface
  • 函数默认值

Customizing Data Characteristics in Simulink®

Objective:Control the data types and storage classes of data in Simulink.

  • 数据特征
  • Data type classification
  • Simulink data type configuration
  • Setting signal storage classes
  • Setting state storage classes
  • Impact of storage classes on symbols

Day 2 of 2


Customizing Data Characteristics Using Data Objects

Objective:Control the data types and storage classes of data using data objects.

  • 金宝app®data objects overview
  • Controlling data types with data objects
  • Creating reconfigurable data types
  • Controlling storage classes with data objects
  • Controlling data type and variable names
  • Data dictionaries

Customizing Generated Code Architecture

Objective:根据应用程序要求控制生成代码的体系结构。

  • 金宝app仿真软件模型架构
  • Controlling code partitioning
  • Generating reusable subsystem code
  • Generating variant components
  • 代码放置选项

模型引用和公交对象

Objective:Control the data type and storage class of bus objects and use them for generating code from models that reference other models.

  • 创建可重复使用的模型参考
  • 控制数据类型的总线信号
  • Controlling storage class of bus signals
  • Model Reference software testing

Scheduling Generated Code Execution

Objective:在单任务,多任务和函数呼叫驱动的配置中为多条系统生成代码。

  • 单速率和多条系统的执行方案
  • Generated code for single-rate models
  • Multirate single-tasking code
  • Multirate multitasking code
  • Generating exported functions

Improving Code Efficiency and Compliance

Objective:Inspect the efficiency of generated code and verify compliance with standards and guidelines.

  • Model Advisor
  • Hardware implementation parameters
  • 遵守标准和准则

Level:中间的

期间:2 days

语言:Deutsch, English, Français, Italiano, 日本語, 한국어, 中文