Initialize code
Description
Specify C/C++ code to execute at the start of simulation.
Category: Simulation Target
Settings
Default: ' '
Tip
Use this code to invoke functions that allocate memory or to perform other initializations of your custom code.
Command-Line Information
Parameter:
SimCustomInitializer |
| Type: character vector |
| Value: any C code |
Default:
'' |
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No recommendation |
| Traceability | No recommendation |
| Efficiency | No recommendation |
| Safety precaution | No recommendation |