Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Training - Courses

SLRT: Simulink Coder Fundamentals

Simulink® Coder Fundamentals is a one-day course that provides a working introduction to automatic code generation with Simulink Coder and its add-on products. This course is designed for Simulink® users who intend to use Simulink Coder for embedded application development. Themes of real-time validation, rapid prototyping, and embedded software development are explored in the context of model-based design. Topics include:

  • Simulation Speedup with Code Generation
  • Real-Time Applications with xPC Target
  • Code Generation
  • Software-in-the-Loop Verification
  • Processor-in-the-Loop Verification
VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline
Day 1 of 1
Simulation Speedup with Code Generation®

Objective: This section explains the applications of code generation and Simulink Coder in simulation speedup and Monte Carlo simulations.

  • Normal simulation mode
  • Accelerator mode
  • Rapid Accelerator mode
  • Standalone rapid simulation (Rsim)
  • Simulation speed comparison and tradeoffs
  • Monte Carlo simulation with Rsim target
Real-Time Applications with xPC Target

Objective: This section introduces the use of xPC Target to generate real-time applications.

  • xPC Target product overview
  • Generating an xPC Target application
  • Running a real-time application
  • xPC Target object
  • Accessing signals
  • Tuning parameters in real time
Code Generation

Objective: This section introduces the use of Simulink Coder and Embedded Coder to generate code for algorithm implementation.

  • Generic Real-Time (GRT) target overview
  • Generating GRT code from a model
  • Verifying GRT code
  • Embedded Real-Time (ERT) target overview
  • Generating embedded code from a model
  • Organization of ERT files
  • ERT data structures
  • Integrating code with external execution harness
Software-in-the-Loop Verification

Objective: This section introduces the use of the Embedded Coder product for software-in-the-loop verification.

  • Software-in-the-loop (SIL) verification
  • Generating S-function from a Subsystem
  • Generating SIL block from an entire model
  • SIL verification with top-model SIL
  • Profiling SIL code execution times
  • SIL verification with model reference SIL
Processor-in-the-Loop Verification

Objective: This section introduces the use of the Embedded Coder product for processor-in-the-loop verification on the Arduino Uno board.

  • Processor-in-the-loop (PIL) verification
  • Embedded Coder tools for embedded design
  • Arduino as a PIL platform
  • PIL verification with top-model PIL
  • Profiling PIL code execution times
  • PIL verification with model reference PIL

Prerequisites

Simulink® for System and Algorithm Modeling (or Simulink for Automotive System Design or Simulink for Aerospace System Design). Knowledge of C programming language.

Course Length - 1 day

Request training