Main Content
matlabshared.supportpkg.setSupportPackageRoot
Set root folder of support packages
Description
matlabshared.supportpkg.setSupportPackageRoot(
sets the root folder of the current support packages. MATLAB® installs all support packages to this location.installDir
)
You must have administrative privileges on the folder that you
set the root to. You must also have administrative privileges to modify matlabroot
,
because the root folder of the support package is recorded under matlabroot
.
When you change the root folder, support packages installed in the new location become available on the MATLAB path. Any previously installed support packages are removed from the MATLAB path, but the files are still available.
Examples
Input Arguments
Version History
Introduced in R2016a