Specify custom code to include near the top of the generated model source file.
Category: Code Generation > Custom Code
Default:''
The code generator places code near the top of the generated or model.c file,
outside of any function.model.cpp
Parameter: CustomSourceCode |
| Type: character vector |
| Value: C code |
Default: '' |
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No impact |