MATLAB Coder Onramp | Self-Paced Online Courses - MATLAB & Simulink (original) (raw)
MATLAB Coder Onramp
Learn the basics of C and C++ code generation from MATLAB functions. You will learn the code generation workflow, including how to fix common compatibility issues and how to use MEX functions to call C code from MATLAB.
Course modules
Introduction
Familiarize yourself with the C code generation concepts covered in the course.
Lessons:
- Course Overview
- Outline and Learning Outcomes
Generate C Code from Functions
Generate code from a simple function and learn how that fits into the general code generation workflow.
Lessons:
- Code Generation Command
- Generate C Code
- Code Generation Report
- Code Generation Workflow
Prepare Code for Generation
Solve code generation errors by addressing common incompatibilities between MATLAB and C code.
Lessons:
- Common Code Generation Errors
- Code Generation Requirements
- Identify and Fix Code Analyzer Issues
Call C Code from MATLAB
Generate MEX functions to execute C code from MATLAB for testing or acceleration.
Lessons:
- MEX Functions
- Verify Generated Code
Adjust Function Inputs
Learn the tradeoffs between different function input types and generate code that allows function inputs of different dimensions.
Lessons:
- Variable Size Inputs
- Allow Different Input Sizes
Configure Generated Code
Adjust code configuration settings to tune generated code without needing to edit the C code manually.
Lessons:
- Configure Generated Code
- Change Code Configuration Settings
Conclusion
Learn about next steps and give feedback on the course.
Lessons:
- Next Steps
- Summary
- Course Survey