メインコンテンツ

Use Parallel Computing Toolbox with Cloud Center Cluster in MATLAB Online

You can run 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 a 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 Cluster Profiles and Access Cloud Clusters. 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 Processes and Threads profiles are not supported in MATLAB Online.

After you set up a cloud cluster, you can use parallel language functions, such as parfor (Parallel Computing Toolbox) or parfeval (Parallel Computing Toolbox). 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 using parpool (Parallel Computing Toolbox) or any function that automatically starts a parallel pool.

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

  • mpiprofile viewer (Parallel Computing Toolbox) is not supported in MATLAB Online.

See Also

Topics