parallel.exportProfile
Export one or more profiles to file
Syntax
parallel.exportProfile(profileName, filename)
parallel.exportProfile({profileName1,profileName2,...,profileNameN},filename)
Description
parallel.exportProfile(profileName, filename)
exports the
profile with the name profileName
to specified filename. The
extension .mlsettings
is appended to the filename, unless already
there.
parallel.exportProfile({profileName1,profileName2,...,profileNameN},filename)
exports the profiles with the specified names to filename
.
To import a profile, use parallel.importProfile
or the
Cluster Profile Manager.
Examples
Export the profile named MyProfile
to the file
MyExportedProfile.mlsettings
.
parallel.exportProfile('MyProfile','MyExportedProfile')
Export the default profile to the file
MyDefaultProfile.mlsettings
.
def_profile = parallel.defaultProfile();
parallel.exportProfile(def_profile,'MyDefaultProfile')
Export all profiles except for 'Processes'
to the file
AllProfiles.mlsettings
.
allProfiles = parallel.listProfiles(); % Remove 'Processes' from allProfiles notProcesses = ~strcmp(allProfiles,'Processes'); profilesToExport = allProfiles(notProcesses); if ~isempty(profilesToExport) parallel.exportProfile(profilesToExport,'AllProfiles'); end
Version History
Introduced in R2012a