Training - Courses
SLEC: Embedded Coder for Production Code Generation |
This hands-on, three-day course focuses on developing models in the Simulink® environment to deploy on embedded systems. The course is designed for Simulink users who intend to generate, validate, and deploy embedded code using Embedded Coder™.
Topics include:
- Generated code structure and execution
- Code generation options and optimizations
- Integrating generated code with external code
- Generating code for multirate systems
- Customizing generated code
- Customizing data
- Deploying code
| Detailed course outline |
|---|
| Day 1 of 3 | |
|---|---|
| Generating Embedded Code | Objective: Configure Simulink models for embedded code generation and effectively interpret the generated code.
|
| Integrating Generated Code with External Code | Objective: Modify models and files to run generated code and external code together.
|
| Real-Time Execution | Objective: Generate code for multirate systems in single-tasking and multitasking configurations.
|
| Controlling Function Prototypes | Objective: Customize function prototypes of model entry points in the generated code.
|
| Day 2 of 3 | |
|---|---|
| Optimizing Generated Code | Objective: Identify the requirements of the application at hand and configure optimization settings to satisfy these requirements.
|
| Customizing Data Characteristics in Simulink | Objective: Control the data types and storage class of data in Simulink.
|
| Customizing Data Characteristics Using Data Objects | Objective: Control the data types and storage classes of data using data objects.
|
| Creating Custom Storage Classes | Objective: Design custom storage classes and use them for code generation.
|
| Bus Object and Model Referencing | Objective: Control the data type and storage class of bus objects and use them for generating code from models that reference other models.
|
| Day 3 of 3 | |
|---|---|
| Customizing Generated Code Architecture | Objective: Control the architecture of the generated code according to application requirements.
|
| Advanced Customization Techniques | Objective: Use code generation templates to control the generated files.
|
| Deploying Generated Code | Objective: Create a custom target for an Arduino board and deploy code using the target.
|
| Developing Device Drivers | Objective: Identify the workflow for developing device drivers and develop device drivers for an Arduino board.
|
| Improving Code Efficiency and Compliance | Objective: Inspect the efficiency of generated code and verify compliance with standards and guidelines.
|
Prerequisites
Simulink® for System and Algorithm Modeling (or Simulink for Automotive System Design or Simulink for Aerospace System Design) and Model Management and Verification in Simulink. Knowledge of C programming language.Course Length - 3 days