Shut down cloud cluster
shutdown(cluster)
shutdown(MJScluster,'At',D)
shutdown(MJScluster,'After',event)
shutdown(MJScluster,'After',numhours)
shutdown(
shuts down the cluster
immediately. You can use this syntax for both for both MATLAB®
Parallel Cloud™ and MATLAB
Distributed Computing Server™ for Amazon
EC2® clusters.cluster
)
shutdown(
shuts down the cluster at the time specified by the MJScluster
,'At',D
)datenum
,
datevec
, or datetime
D
. D
is interpreted in the local time zone
unless D
is a datetime
with
TimeZone
specified. You can use the
MJScluster
argument syntaxes only for MATLAB
Distributed Computing Server for Amazon
EC2 clusters.
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.
datenum
| datetime
| datevec
| parallel.Cluster
| parcluster
| parpool
| start
| wait
(cluster)