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
See Also
coder.ceval | coder.rowMajor | coder.columnMajor | coder.isColumnMajor
Topics
- Generate Code That Uses Row-Major Array Layout (MATLAB Coder)
- Specify Array Layout in Functions and Classes (MATLAB Coder)
- Generate Code That Uses N-Dimensional Indexing (MATLAB Coder)
- Interface with Row-Major Data in MATLAB Function Blocks
- Code Generation of Matrices and Arrays (Simulink Coder)