Training - Courses
SLEX: Integrating Code with Simulink |
This one-day course presents multiple methods for integrating code into Simulink® models. The focus is on integrating C and MATLAB® code. Topics discussed include C MEX S-functions, Embedded MATLAB code, 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 |
|---|
| Day 1 of 1 | |
|---|---|
| Code Integration Methods | Objective: Become familiar with the various code integration methods and discuss how a Simulink model interacts with user-defined blocks.
|
| Transitioning from MATLAB® to Simulink® | Objective: Integrate MATLAB code into Simulink models.
|
| Calling External Routines | Objective: Integrate C code into a Simulink model using automated tools.
|
| Writing Wrapper S-Functions | Objective: Integrate C code into a Simulink model by manually writing C MEX S-functions.
|
| 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.
|
| Code Integration Methods Review | Objective: Review the code integration methods and discuss the pros and cons of each.
|
Prerequisites
Simulink for System and Algorithm Modeling, MATLAB Fundamentals, and knowledge of C programming
Course Length - 1 day