Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Training - Courses

RT02: Real-Time Workshop Embedded Coder for Production Code Generation

Real-Time Workshop® Embedded Coder for Production Code Generation is a hands-on, three-day course that 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 Real-Time Workshop. Topics include:

  • Generated code structure and execution
  • Code generation options and optimizations
  • Integrating generated code with external code
  • Customizing generated code
  • Customizing data
  • Deploying code
VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline

 

Day 1 of 3
Introduction

Objective: Attendees will identify where the use of Real-Time Workshop Embedded Coder is appropriate and set up the class files.

  • Introduction to The MathWorks
  • The MathWorks product family
  • Uses of Real-Time Workshop Embedded Coder
  • Course outcomes
  • Getting ready for the class
Generating Embedded Code

Objective: Attendees will configure Simulink models for embedded code generation and effectively interpret the generated code.

  • Configuring a model for embedded code generation
  • Generating code and code generation reports
  • Code modules and data structures
  • Execution of generated code
Integrating Generated Code with External Code

Objective: Attendees will modify models and files to run generated code and external code together.

  • Model entry points
  • Using an execution harness
  • Including custom routines
  • Configuring data exchange with external code
Optimizing Generated Code

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

  • Application requirements and priorities
  • Optimizing executions
  • Removing unnecessary code
  • Removing unnecessary support
  • Optimizing signal storage
  • Optimizing data initialization
Day 2 of 3
Preparing a Model for Embedded Code Generation

Objective: Attendees will inspect the efficiency of generated code and tune model configurations for specific embedded targets.

  • Using Model Advisor
  • Setting hardware implementation parameters
  • Using Configuration Wizards and auto-configuring targets
Customizing Data Types and Naming

Objective: Attendees will control the data types and variable names in generated code.

  • Controlling Simulink data types
  • Creating custom data types
  • Controlling data type names
  • Controlling variable names
  • Changing naming rules
Customizing Data Storage

Objective: Attendees will design and use custom storage classes as appropriate.

  • Simulink Storage classes
  • Using predefined custom storage classes
  • Designing custom storage classes
  • Assigning memory sections to storage classes
  • Custom storage class requirements and restrictions
  • Bus objects and storage class of bus objects
Customizing Generated Code Architecture

Objective: Attendees will control the architecture of the generated code according to application requirements.

  • Generating modular function code
  • Controlling code reusability
  • Controlling data placement
  • Integrating code generated from multiple models
Day 3 of 3
Advanced Customization Techniques

Objective: Attendees will use code generation templates to control the generated files.

  • Review of the code generation process
  • Overview of code generation templates
  • Custom file processing
  • Defining code generation templates
  • Using code generation templates
Deploying Generated Code

Objective: Attendees will collect necessary data and identify the necessary steps for custom target development.

  • Components of a custom target
  • The build process
  • Interfacing to development tools
  • Creating a custom target configuration
  • Creating template makefiles
(Optional) Introduction to Developing Device Drivers

Objective: Attendees will identify the necessary components, templates, and steps for developing device drivers.

  • Device drivers overview
  • Using the Legacy Code Tool
  • Customizing device driver components
  • Creating a device driver library
(Optional) Embedded Targets

Objective: Attendees will build and run code on a hardware simulator using an embedded target in Real-Time Workshop and Code Composer Studio.

  • Target for TI C6000
  • Selecting target preferences
  • Building and running code on a hardware simulator
Conclusion

Objective: Attendees will find resources for further information and training on the topic, and evaluate the class.

  • Resources
  • Related training courses
  • Evaluations

 


Prerequisites

Working experience with Simulink and Simulink data is compulsory for all attendees. Simulink for System and Algorithm Modeling (or Simulink for Automotive System Design) and Advanced Simulink Modeling Techniques can be taken to satisfy the prerequisites.

Knowledge of C programming is strongly recommended for learners who want to benefit from code inspection. Prior exposure to embedded programming, fixed-point arithmetic, and CMEX S-functions is helpful. The courses Real-Time Workshop Fundamentals and Integrating Code with Simulink are also recommended.

Course Length - 3  days

Price - $1,950.00

Request training
E-mail this page
Print this page

2008 Training Course Brochure

Exciting new courses and training options available now.