Filter löschen
Filter löschen

ERT control Row major matrix order

1 Ansicht (letzte 30 Tage)
william arrouy
william arrouy am 31 Jul. 2017
When performing Matlab to C code generation (ERT) is it possible to control the matrix order convention ? (row major or column major) ?

Akzeptierte Antwort

Abhi Sundararaman
Abhi Sundararaman am 2 Aug. 2017
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
  1 Kommentar
Abhi Sundararaman
Abhi Sundararaman am 15 Mai 2018
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by