Test numerical equivalence between model components and production code that you generate from the components by using software-in-the-loop (SIL) and processor-in-the-loop (PIL)
Create a target connectivity configuration by using target connectivity APIs. With a target connectivity configuration, you can run PIL simulations on custom embedded hardware.
Implement a communication channel for processor-in-the-loop (PIL) simulation.
If Simulink® Coverage™ is installed, you can collect code coverage metrics during a software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulation - see
Configure and run normal, software-in-the-loop (SIL), and processor-in-the-loop (PIL) simulations, and compare results.
The basic workflow and key APIs for generating C code from a motor control algorithm, and for verifying its compiled behavior and execution time. You will use Processor-in-the-loop (PIL)
Link generated code to model element requirements. Using configuration parameters, you can specify whether to include requirement descriptions as comments in the generated code.