Wait for cloud cluster to change state
wait(
blocks execution in the
client MATLAB session until cluster
)cluster
reaches the
'online
' state. The 'online
' state
indicates that the cluster is running and you can use all requested workers to run
jobs.
wait(
blocks execution in the client session until cluster
,state
)cluster
changes
state. For a cluster object, the valid states are:
'online
': The cluster is running and you can use
all requested workers to run jobs.
'waitingforworkers
': The cluster is running, and
you can use some but not all of the requested workers to run jobs. You
can still use the cluster in this state with the workers that are
available.
'offline
': The cluster is not running, but you can
restart using the start()
command or via https://cloudcenter.mathworks.com. If the cluster
has shared persisted storage, then any previous jobs in the queue are
still present when you restart the cluster.
parallel.Cluster
| parcluster
| parpool
| shutdown
| start