Determine whether the current function or variable uses row-major layout
You cannot query the array layout of a structure field or property.
Outside of code generation and simulation,
coder.isRowMajor
is
always false.
If coder.isRowMajor
always resolves to true for your code, other
branches in the if
statement are ignored by the code
generator. Otherwise, one instance of the current function is created for each
array layout.
coder.ceval
| coder.columnMajor
| coder.isColumnMajor
| coder.rowMajor