New DP instances can be started with the command dpspawn. On success dpspawn returns the unique identifier(s) of the new DP instance(s) (short: dpid or dpids; currently the dpids are the tids assigned by the PVM system). Optionally, dpspawn can process a number of input parameters with which certain properties of the spawned DP instance(s) can be controlled:
Spawned DP instances can terminate in two ways. Either the MATLAB command exit (use dpexit before) is called inside the instance that should terminate, or the function dpkill(dpids) is used to kill one or multiple DP instances.