How do I enhance the memory allocation in my MEX-file?
I am trying to create large arrays in my MEX-file; however when I try to run the MEX-file in MATLAB, it crashes my MATLAB session. I am assuming that this is because of some limit on how much memory can be allocated depending upon the operating system. But I would like to know some way to enhance the execution of the program so that MATLAB will not crash.
Best Answer