Control how root-level model input and output are passed to the reusable
function.model
_step
Category: Code Generation > Interface
Default:
Individual arguments
Individual arguments
Passes each root-level model input and output value to
as a separate
argument.model
_step
Structure reference
Packs root-level model input into a struct
and passes
struct
to
as an argument.
Similarly, packs root-level model output into a second model
_stepstruct
and
passes it to
.model
_step
Part of model data structure
Packages root-level model input and output into the real-time model data structure.
This parameter only appears for ERT-based targets with parameter Code
interface packaging set to Reusable
function
.
This parameter requires an Embedded Coder® license when generating code.
Parameter:
RootIOFormat |
Type: character vector |
Value:
'Individual arguments' | 'Structure reference' |
'Part of model data structure' |
Default:
'Individual arguments' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |