sharedCodeMATLABVersions
Manage MATLAB versions for cross-release code integration
Syntax
Description
[
returns the available MATLAB® versions and the installation folders.registeredVersions
, installationFolders
] = sharedCodeMATLABVersions
sharedCodeMATLABVersions('Folder',
registers a MATLAB version. The function specifies the folder where the MATLAB version is installed. The function checks that the folder corresponds
to the versionInstallationFolder
)matlabroot
value for a valid installation, retrieves the
MATLAB version number, and stores this information as a preference.
sharedCodeMATLABVersions('Remove',
deregisters the MATLAB version and removes installation folder and version data.deregisterVersion
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b