Why does my function freeze or hang when I use the bang or exclamation point operator (!) or DOS to invoke a separate process from MATLAB?
When the spawned process or application exits, MATLAB continues to work correctly however MATLAB hangs until the application exits. I observe the same behavior if I compile my function using the MATLAB Compiler.
Best Answer