MATLAB Answers

Building MEX file error: struct exceeding 2GB

조회 수: 1(최근 30일)
Ji Chun
Ji Chun 9 Aug 2019
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!

  댓글 수: 0

로그인 to comment.

답변 수 (1)

SaiDileep Kola
SaiDileep Kola 12 Aug 2019

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by