Building MEX file error: struct exceeding 2GB

3 visualizaciones (últimos 30 días)
Ji Chun
Ji Chun el 9 de Ag. de 2019
Respondida: SaiDileep Kola el 12 de Ag. de 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!

Respuestas (1)

SaiDileep Kola
SaiDileep Kola el 12 de Ag. de 2019

Categorías

Más información sobre MATLAB Code Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by