Clusters and Clouds - MATLAB & Simulink (original) (raw)

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.

Functions

expand all

parcluster Create cluster object
parpool Create parallel pool on cluster
gcp Get current parallel pool
pctconfig Configure settings for Parallel Computing Toolbox client session or MATLAB Parallel Server workers
pctRunOnAll Run command on client and on all workers in parallel pool
parallel.validateProfile Validate parallel environment profile (Since R2025a)
parallel.defaultProfile Examine or set default cluster profile (Since R2022b)
parallel.exportProfile Export one or more profiles to file
parallel.importProfile Import cluster profiles from file
saveProfile Save modified cluster properties to its current profile
saveAsProfile Save cluster properties to specified profile
shutdown Shut down cloud cluster
start Start cloud cluster
wait (cluster) Wait for cloud cluster to change state
partition Partition parallel pool (Since R2025a)

Objects

expand all

parallel.Pool Parallel pool of workers
parallel.Cluster Access cluster properties and behaviors

Topics

Cluster Setup

Cluster and Cloud Applications

Working with Pool Partitions

Scale Up from Desktop to Cluster

Scale Up from Desktop to Cluster

Develop your parallel MATLAB® code on your local machine and scale up to a cluster.

Process Big Data in the Cloud

Process Big Data in the Cloud

Access a large data set in the cloud and process it in a cloud cluster using MATLAB® capabilities for big data.

Work with Remote GPUs

Work with Remote GPUs

Run MATLAB® code on multiple remote GPUs in a cluster.