GenericWrapperBlock
This block is the basic block for all the wrappers blocks.
![]()
Library
WrapperCodeGenerator
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
nin | Number of input ports | Number | ||
inports | Input port parameters | Structure | ||
inports/inrow | Row size | Cell of scalars | ||
inports/incol | Column size | Cell of scalars | ||
inports/it | Type | Cell of strings | 'double' | |
inports/name | C Variable Name | Cell of strings | ||
inports/isglobal | Declared as global | Cell of numbers | 0 | |
inports/isByValue | Declared as value | Cell of numbers | 0 | |
inports/default | Default value | Cell of matrices | ||
nout | Number of output ports | Number | ||
outports | Output port parameters | Structure | ||
outports/outrow | Row size | Cell of scalars | ||
outports/outcol | Column size | Cell of scalars | ||
outports/ot | Type | Cell of strings | 'double' | |
outports/name | C variable name | Cell of strings | ||
outports/isglobal | Declared as global | Cell of numbers | 0 | |
outports/isByValue | Declared as value | Cell of numbers | 0 | |
outports/default | Default value | Cell of matrices | ||
nevout | Expose output activation port | Number | 0 | |
dtype | Type | String | 'double' | |
params | params | |||
sysparams | sysparams |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Port 1 | explicit | input | nin | |
Port 2 | explicit | output | nout | |
Port 3 | activation | output | nevout |