Support root-level matrix I/O using one-dimensional arrays
Allow root-level matrix I/O for column-major array layout
Category: Code Generation > AUTOSAR Code Generation Options
For AUTOSAR component models that use column-major array layout, software supports matrix I/O at the root level by generating code that implements matrices as one-dimensional arrays.
For column-major array layout, software does not allow matrix I/O at the root level. If you try to build a model that has matrix I/O at the root level, the software produces an error.
Set the same value for top and referenced models.
For an AUTOSAR component model with multidimensional arrays, if you set the model configuration parameter Array layout to
Row-major, you can preserve dimensions of multidimensional arrays in the generated C code. Preserving array dimensions in the generated code can enhance code integration.
When Array layout is set to
Row-major, Support root-level matrix I/O using one-dimensional arrays does not apply.
|Type: character vector|
- Model Configuration Parameters: Code Generation AUTOSAR
- Root-Level Matrix I/O (AUTOSAR Blockset)