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

SL03: Integrating Code with Simulink

 

This one-day course presents multiple methods for integrating code into Simulink models. The focus will be on integrating C and MATLAB®. Topics discussed will include M-file and C-MEX S-functions, Embedded MATLAB, and the Legacy Code Tool for wrapping external C functions into Simulink. This course is intended for intermediate to advanced Simulink users.

 

 

VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline
Course Overview
Introduction

Objective: Gain a basic understanding of the methods of integrating code into Simulink and the motivations for using each method

  • Company introduction
  • Model-Based Design
  • Overview of code integration methods
  • Choosing the correct code integration method
Transitioning from MATLAB® to Simulink®

Objective: Learn about the methods of integrating M-code into Simulink

  • Writing Embedded MATLAB Functions
  • Benefits and drawbacks of Embedded MATLAB Functions
  • Converting a MATLAB function to an Embedded MATLAB Function
  • Basic S-function concepts
  • Writing M-file S-functions
  • Benefits and drawbacks of M-file S-functions
  • Level-1 versus Level-2 M-file S-functions
  • Converting a MATLAB function to an M-file S-function
Calling External C Functions and Routines

Objective: Learn about the methods of integrating C code into Simulink

  • Calling an external C routine using the Legacy Code Tool
  • Benefits and drawbacks of using the Legacy Code Tool
  • Writing an S-function using the S-Function Builder
  • Benefits and drawbacks of using the S-Function Builder
  • Calling an external C routine using the S-Function Builder
Code Generation Considerations

Objective: Learn the procedures and limitations for automatically generating code with Real-Time Workshop® when using the code integration methods described in the course

  • Process for generating code from an Embedded MATLAB Function
  • Limitations for generating code from an Embedded MATLAB Function

Prerequisites

The pre-requisites for this course are Simulink for System and Algorithm Modeling (SL01), MATLAB Fundamental and Programming Techniques (ML01), and knowledge of C programming.

Class Time - 8:30 - 12:30 EST

Course Length - 2 half-days

Price - $650.00

Request training
E-mail this page
Print this page

2008 Training Course Brochure

Exciting new courses and training options available now.