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.isRowMajoris always false.If
coder.isRowMajoralways resolves to true for your code, other branches in theifstatement 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