Forcibly shuts down the parallel pool and clears the workspace.
When a Ctrl-C is pressed halfway through a parallel calculation, Matlab would sometimes not terminate the worker processes, and the parallel pool would get stuck until all workers have computed their chunks. A forcible pool shutdown is needed in this case.
The command is equivalent to the following:
delete(gcp('nocreate')); clear('all'); close('all'); fclose('all');
It exists because Ilya Kuprov got tired one day of repeatedly typing that.
Version 2.2, authors: Ilya Kuprov