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™ 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 discover Cloud Center clusters that only you created 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). If you do not have any clusters set up, then parallel functions that
require a parallel pool either run in serial or throw an error.
There are some differences between MATLAB Desktop and MATLAB Online. In MATLAB Online:
The parallel status indicator is not visible by default. To view the parallel status indicator, you must start a parallel pool by using
parpool(Parallel Computing Toolbox) or any other function that automatically starts a parallel pool.The Parallel Computing Toolbox Preferences options pane is not available.
mpiprofile viewer(Parallel Computing Toolbox) is not supported.