I have some MATLAB code which I compile using EMLMEX. The code runs fine in MATLAB, but throws a stack overflow error when trying to run the compiled code.
I have large data structures that I am passing to and returning from among functions and sub-functions in the MATLAB code.
Best Answer