Documentation Center

  • Trials
  • Product Updates

delete (Pool)

Shut down parallel pool

Syntax

delete(poolobj)

Description

delete(poolobj) shuts down the parallel pool associated with the object poolobj, and destroys the communicating job that comprises the pool. Subsequent parallel language features will automatically start a new parallel pool, unless your parallel preferences disable this behavior.

References to the deleted pool object become invalid. Invalid objects should be removed from the workspace with the clear command. If multiple references to an object exist in the workspace, deleting one reference to that object invalidates the remaining references to it. These remaining references should be cleared from the workspace with the clear command.

Examples

Get the current pool and shut it down.

poolobj = gcp('nocreate');
delete(poolobj);

See Also

|

Was this topic helpful?