Main Content

Clusters and Clouds

Discover cluster resources, and work with cluster profiles

If your computing task is too big or too slow for your local computer, you can offload your calculation to a cluster onsite or in the cloud to run your MATLAB® code with minimal changes. Try Parallel > Discover Clusters in the MATLAB toolstrip to find out if you already have a cluster available.

If you already have a cluster with a scheduler, you can integrate MATLAB with it using MATLAB Parallel Server™. Alternatively, if you do not have an existing scheduler, then MATLAB Parallel Server provides MATLAB Job Scheduler.


expand all

parclusterCreate cluster object
parpoolCreate parallel pool on cluster
gcpGet current parallel pool
shutdown Shut down cloud cluster
startStart cloud cluster
wait (cluster)Wait for cloud cluster to change state
parallel.defaultProfileExamine or set default cluster profile
parallel.exportProfileExport one or more profiles to file
parallel.importProfileImport cluster profiles from file
saveProfileSave modified cluster properties to its current profile
saveAsProfileSave cluster properties to specified profile
pctconfigConfigure settings for Parallel Computing Toolbox client session


expand all

parallel.PoolParallel pool of workers
parallel.ClusterAccess cluster properties and behaviors
pctRunOnAllRun command on client and all workers in parallel pool

Examples and How To

Cluster Setup

Deep Learning