start

Start cloud cluster

Syntax

start(cluster)

Description

example

start(cluster) starts the specified MATLAB® Parallel Server™ for Amazon EC2® cluster, if it is not already running. If the cluster is already running or in the process of shutting down, then start(cluster) returns immediately, and the state of the cluster is not changed.

Examples

collapse all

Obtain your cluster profile using one of the following ways:

Create a cluster using the default profile.

myCluster = parcluster;

Start the cluster.

start(myCluster);

Wait for the cluster to be ready to accept job submissions.

wait(myCluster);

Input Arguments

collapse all

MATLAB Parallel Server for Amazon EC2 cluster, specified as cluster object created using parcluster.

Example: start(cluster)

Introduced in R2017a