parallel.listProfiles
Description
allProfiles = parallel.listProfiles returns a cell array containing
        the names of all the available profiles.
[allProfiles, defaultProfile] = parallel.listProfiles also returns
        the name of the default profile as a character vector.
The allProfile output always contains a profile called
          'Processes' for the local cluster, and always contains the default
        profile. If you delete or have not set the default profile,
          parallel.listProfiles returns 'Processes' as the
        default profile.
You can create and change profiles by using the saveProfile or saveAsProfile functions on a cluster object.
        You can create, delete, and change profiles by using the Cluster Profile Manager. To access
        the Cluster Profile manager, in the Environment area of the
          MATLAB® desktop Home tab, click Parallel
         and then click Create and Manage Clusters.
Examples
Version History
Introduced in R2022b