Building MEX file error: struct exceeding 2GB

조회 수: 3 (최근 30일)
Ji Chun
Ji Chun 2019년 8월 9일
답변: SaiDileep Kola 2019년 8월 12일
I am trying to convert my matlab code to c++ using MATLAB coder, but I am getting an error saying "...size of 'struct defined at c:\user... _type.h (linenumber)' exceeds 2147483647 bytes" during the step of building MEX.
I am using Window 10, 64bit. My code handles 3D images and a lot of FFTs. I use 'clear' in my matlab code to free up the memory, but 'clear' is not supported by data generation.
Is there a way to fix this error?
Thanks!

답변 (1개)

SaiDileep Kola
SaiDileep Kola 2019년 8월 12일

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by