ERT control Row major matrix order

1 visualización (últimos 30 días)
william arrouy
william arrouy el 31 de Jul. de 2017
Comentada: Abhi Sundararaman el 15 de Mayo de 2018
When performing Matlab to C code generation (ERT) is it possible to control the matrix order convention ? (row major or column major) ?

Respuesta aceptada

Abhi Sundararaman
Abhi Sundararaman el 2 de Ag. de 2017
Unfortunately, due to the way both languages are implemented, changing the matrix order convention is not possible in the generated code.
  1 comentario
Abhi Sundararaman
Abhi Sundararaman el 15 de Mayo de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by