Azzera filtri
Azzera filtri

ERT control Row major matrix order

1 visualizzazione (ultimi 30 giorni)
When performing Matlab to C code generation (ERT) is it possible to control the matrix order convention ? (row major or column major) ?

Risposta accettata

Abhi Sundararaman
Abhi Sundararaman il 2 Ago 2017
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
  1 Commento
Abhi Sundararaman
Abhi Sundararaman il 15 Mag 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by