필터 지우기
필터 지우기

Coder support for LargeArrayDims

조회 수: 11 (최근 30일)
Tom Holden
Tom Holden 2022년 3월 22일
답변: Tom Holden 2022년 3월 22일
It seems that by default, MATLAB Coder generates MEX files that are compiled without support for the LargeArrayDims option. Thus arrays in the generated MEX are limited to 2^32 elements. This results in errors like:
"Cannot grow a matrix with greater than intmax() elements."
I cannot see an option to enable LargeArrayDims either within the MATLAB Coder UI, or within the options to the coder.config object.
Is it possible to build a MEX Coder project with support for LargeArrayDims?

답변 (1개)

Tom Holden
Tom Holden 2022년 3월 22일

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by