ERT control Row major matrix order

조회 수: 1 (최근 30일)
william arrouy
william arrouy 2017년 7월 31일
댓글: Abhi Sundararaman 2018년 5월 15일
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일
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개)

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by