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) ?

采纳的回答

Abhi Sundararaman
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
  1 个评论
Abhi Sundararaman
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 CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by