Enter code lines to appear near the top of a generated header file.
Category: Simulation Target
Default: ' '
Code lines appear near the top of the generated
header file.model
.h
When you include a custom header file,
enclose the file name in double quotes. For
example, #include
"sample_header.h"
is a valid declaration
for a custom header file.
You can include extern
declarations of variables or functions.
Parameter:
SimCustomHeaderCode |
Type: character vector |
Value: any C code |
Default:
'' |
Application | Setting |
---|---|
Debugging | No recommendation |
Traceability | No recommendation |
Efficiency | No recommendation |
Safety precaution | No recommendation |