parallel.importProfile
Import cluster profiles from file
Description
imports the profiles stored in the specified file, profile
= parallel.importProfile(filename
)filename
, and
returns the names of the imported profiles. If filename
has no
extension, the function assumes .mlsettings
is the file extension. You
must specify the file extension for configuration files with the .mat
extension.
Configuration MAT files contain only one profile, but profile MLSETTINGS files can
contain one or more profiles. If the file contains only one profile, then
profile
is a character vector that reflects the name of the profile.
If the file contains multiple profiles, then profile
is a cell array of
character vectors. If a profile with the same name as an imported profile already exists,
the function adds an extension to the name of the imported profile.
You can use the imported profile with any functions that support profiles.
parallel.importProfile
does not set any of the imported profiles as
the default. To set a default profile, use the parallel.defaultProfile
function.
During the import, parallel.importProfile
upgrades profiles that
you exported in a previous release. Configurations are automatically converted to cluster
profiles.
Imported profiles are saved as a part of your MATLAB® settings, so these profiles are available in subsequent MATLAB sessions without importing again.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012a