shutdown
Shut down cloud cluster
Syntax
Description
shutdown(
shuts down the cluster at the time specified by the MJScluster,'At',D)datetime,
datenum, or datevec
D. D is interpreted in the local time zone of
the MATLAB® client unless D is a datetime with
a non-empty TimeZone property.
shutdown(
shuts down the cluster after the specified event MJScluster,'After',event)event has
occurred. event can be 'never' or
'idle'. A cluster is 'idle' immediately
when there are no running jobs, queued jobs, or running pools. The cluster is
eligible for shutdown if 'idle' for more than 5 minutes, and is
guaranteed to shut down within 60 minutes.
shutdown(
shuts down the cluster after MJScluster,'After',numhours)numhours hours, as measured from
the time the method is called.
Examples
Input Arguments
Version History
Introduced in R2017a
See Also
datetime | start | wait
(cluster) | parcluster | parallel.Cluster | parpool