ERT control Row major matrix order
1 次查看(过去 30 天)
显示 更早的评论
When performing Matlab to C code generation (ERT) is it possible to control the matrix order convention ? (row major or column major) ?
0 个评论
采纳的回答
Abhi Sundararaman
2017-8-2
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
1 个评论
Abhi Sundararaman
2018-5-15
A quick update: As of R2018a, MATLAB Coder now supports changing the array layout to row-major.
Refer to the following documentation link for more information. https://www.mathworks.com/help/coder/ug/generate-code-that-uses-row-major-data.html
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!