Main Content
Multi-Instantiation
You can model multi-instance rate-based component models in Simulink®. For example, you can:
Configure a model as a multi-instance component by setting model configuration parameter Code interface packaging to
Reusable function
.Generate code with reentrant functions and multi-instance calls to platform services. You can access external I/O, tunable parameters, and per-instance memory, and use reusable subsystems in multi-instance mode.
Verify multi-instance code by using software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations.