What is the stack limit when MATLAB calls function in DLL
问题 I am trying to figure out, what is the stack size limitation, when MATLAB calls function in DLL. Is there a way to configure the limit? I am using loadlibrary , and calllib functions to call function implemented in C (in Dynamic-link library). I created a test to figure out the stack limit. I am using MATLAB 2016a (64 bits), and Visual Studio 2010 for building the DLL. Here is my MATLAB source code: loadlibrary('MyDll','MyDll.h') size_in_bytes = 1000000; res = calllib('MyDll', 'Test', size_in