# Smack.m

A shortcut to the parallel pool shutdown command.

## Syntax

    smack()


## Description

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 shitdown is needed in this case.

## Notes

The command is equivalent to the following:

    delete(gcp('nocreate'));


It exists because Ilya Kuprov got tired one day of repeatedly typing that.