Deployment and Validation
Verify numerical equivalence between Simulink algorithms and the generated C code running on STM32 processor based boards. The examples in this category show how to perform Processor-in-the-Loop (PIL) simulation to compare Simulink results with on-target execution. You can also use real-time execution profiling to measure task runtimes and confirm that the generated code meets timing and performance requirements.
Topics
- STM32CubeMX Based PIL Execution at the Command Line Using MATLAB Coder
Run Processor-in-the-Loop (PIL) verification on an STM32 processor using MATLAB Coder and STM32CubeMX at the command line.
- STMCubeMX Based PIL Execution Using the MATLAB Coder App
Run Processor-in-the-Loop (PIL) verification using the MATLAB Coder app on an STM32 processor.
- Generate IDE Projects from Simulink Models for STM32
Create STM32 IDE projects from Simulink models for STM32™ Microcontroller Blockset.
- Debug Simulink Generated Code using STM32CubeIDE
Deploy and Debug Simulink Code on STM32 hardware with STM32CubeIDE.





