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

 채택된 답변

Abhi Sundararaman
Abhi Sundararaman 2017년 8월 2일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 MATLAB Support Packages에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by