Main Content

UseParallel Computing Toolboxwith Cloud Center Cluster inMATLABOnline

You can run parallel code inMATLAB®Online™. To accessMATLAB Online, follow this link:https://matlab.mathworks.com.

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

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

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

  • Import a cloud cluster profile. For more information, seeImport and Export Cluster Profiles. Note that if the profile is not in yourMATLAB Drive™, you must upload it first. On theHometab, in theFilearea, clickUpload.

Note

The local profile is not supported inMATLAB Online.

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

Some differences with MATLAB Desktop include the following.

  • The parallel status indicator is not visible by default. You must start a parallel pool first by usingparpoolor any function that automatically start a parallel pool.

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

  • mpiprofile vieweris not supported inMATLAB Online.

Related Topics