Testing Generated Code in Simulink

Course Highlight

This is a one-day course that provides a working introduction to designing and testing embedded applications with Simulink® Coder and Embedded Coder®. Themes of simulation speedup, parameter tuning in the deployed application, structure of embedded code, code verification, and execution profiling are explored in the context of model-based design. Topics include:

  • Simulation Speedup with Code Generation
  • Parameter Tuning with External Mode
  • Code Generation
  • In-the-Loop Verification
  • Code Execution Profiling

Prerequisites
Working experience with Simulink is compulsory. Simulink® for System and Algorithm Modeling (or Simulink for Automotive System Design) can be taken to satisfy the prerequisite. Knowledge of C programming language is strongly recommended to learners who want to benefit from code inspection.

Course Outline

Day 1 of 1

Simulation Speedup with Code Generation

Objective: Speedup the simulation of your Simulink models and perform Monte Carlo simulations using the code generation features in Simulink.

  • Normal simulation mode
  • Accelerator mode
  • Rapid Accelerator mode
  • Standalone rapid simulation (Rsim)
  • Simulation speed comparison and tradeoffs
  • Monte Carlo simulation with Rsim target

Parameter Tuning with External Mode

Objective: Tune parameters in the embedded application using the External mode feature in Embedded Coder.

  • External mode workflow
  • Parameter tuning in External mode
  • External mode considerations

Code Generation

Objective: Generate code for algorithm implementation and integrate the code with an execution harness or legacy code.

  • Generating Generic Real-Time (GRT) code from a model
  • Verifying GRT code
  • Generating Embedded Real-Time (ERT) code from a model
  • ERT code modules and entry points
  • Calling model entry points
  • Integrating external code

In-the-Loop Verification

Objective: Verify generated code using Simulink Coder and Embedded Coder.

  • Generating an S-function from a subsystem
  • Software-in-the-loop (SIL) verification
  • Processor-in-the-loop (PIL) verification
  • Verifying a subsystem using SIL and PIL
  • Verifying an entire model using SIL and PIL
  • Legacy code and verification

Code Execution Profiling

Objective: Profile execution times in generated code using Embedded Coder.

  • Code execution profiling for a subsystem
  • Selective profiling
  • Code execution profiling for an entire model
  • Applications of code execution profiling

DOWNLOAD REGISTRATION FORM

ONLINE REGISTRATION

 

 

Course Registration Form


Course Title
Invalid Input

or Key in Your Own Title
Invalid Input

Course Start Date

Invalid Input

Sponsorship (*)
Invalid Input


Contact Person


Salutation(*)
Invalid Input

Name(*)
Invalid Input

Designation/ Department/ Division(*)
Invalid Input

Company(*)
Invalid Input

Billing Address (*)
Invalid Input

Street Address

(*)
Invalid Input

Street Address Line 2

City(*)
Invalid Input

State / Province(*)
Invalid Input

Postal / Zip Code(*)
Invalid Input

Telephone(*)
Invalid Input

Fax
Invalid Input

Email Address (*)
Invalid Input


Participant Details


Participant Salution 1
Invalid Input

Participant Name1
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Participant Salution 2
Invalid Input

Participant Name2
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Participant Salution 3
Invalid Input

Participant Name 3
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Payment Method(*)
Invalid Input

Cheque number
Invalid Input

PO Number
Invalid Input

How did you get to know about this programme?(*)
Invalid Input

Terms and Conditions
Invalid Input

Invalid Input