You can create models for targeting the same way you create other Simulink® models—by combining standard blocks and C-MEX S-functions.
You can use blocks from the following sources:
Hardware support packages, which you can install using supportPackageInstaller
.
The Embedded Targets library (embeddedtargetslib
)
Blocks from the System Toolboxes products
Custom blocks
Configuring the model for code generation.