Pass root-level I/O as
Description
Control how root-level model input and output are passed to the reusable
function.model
_step
Category: Code Generation > Interface
Settings
Default:
Individual arguments
Individual arguments
Passes each root-level model input and output value to
as a separate argument.model
_stepStructure reference
Packs root-level model input into a
struct
and passesstruct
to
as an argument. Similarly, packs root-level model output into a secondmodel
_stepstruct
and passes it to
.model
_stepPart of model data structure
Packages root-level model input and output into the real-time model data structure.
Dependencies
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.
Command-Line Information
Parameter:
RootIOFormat |
Type: character vector |
Value:
'Individual arguments' | 'Structure reference' |
'Part of model data structure' |
Default:
'Individual arguments' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |