ERT control Row major matrix order
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
william arrouy
le 31 Juil 2017
Commenté : Abhi Sundararaman
le 15 Mai 2018
When performing Matlab to C code generation (ERT) is it possible to control the matrix order convention ? (row major or column major) ?
0 commentaires
Réponse acceptée
Abhi Sundararaman
le 2 Août 2017
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
1 commentaire
Abhi Sundararaman
le 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!