Use Parallel Computing Toolbox with Cloud Center clusters in MATLAB Online

You can run your parallel code in MATLAB® Online™. To access MATLAB Online, follow this link: https://matlab.mathworks.com.

To use Parallel Computing Toolbox™ functionality in MATLAB Online, you must have access to a Cloud Center cluster. You can:

  • Create a cloud cluster. For more information, see Create Cloud Cluster.

  • Discover an existing cluster. For more information, see Discover Clusters. You can only discover Cloud Center clusters in your MathWorks® Account.

  • Import a cloud cluster profile. For more information, see Import and Export Cluster Profiles. Note that if the profile is not in your MATLAB Drive™, you must upload it first. On the Home tab, in the File area, click Upload.

Note

The local profile is not supported in MATLAB Online.

After you set up a cloud cluster, you can use parallel language functions, such as parfor or parfeval. Note that if you do not have any clusters set up, then parallel functions that require a parallel pool run in serial or error.

Other considerations include:

  • The parallel status indicator is not visible by default. You must start a parallel pool first by using parpool or any of the functions that automatically start a parallel pool.

  • The Parallel Computing Toolbox Preferences options pane is not available in MATLAB Online.

Related Topics