I have a Windows executable file that runs stochastic simulations as separate threads and then averages the results together at the end.
I would like to run the simulations from MATLAB using the system command. Everything works fine if I run the 4-threaded version of the executable but the executable returns early (without reporting an error) if I try to run 5 or more threads.