coder.isRowMajor
Determine whether the current function or variable uses row-major layout
Description
Examples
Input Arguments
Limitations
You cannot query the array layout of a structure field or property.
Tips
Outside of code generation and simulation,
coder.isRowMajor
is always false.If
coder.isRowMajor
always resolves to true for your code, other branches in theif
statement are ignored by the code generator. Otherwise, one instance of the current function is created for each array layout.
Extended Capabilities
Version History
Introduced in R2018a