How do I restore Support Packages after running 'restoredefaultpath'?

My support packages disappeared from the MATLAB path after I ran 'restoredefaultpath'. How do I restore the paths of the support packages after executing 'restoredefaultpath'?

 Accepted Answer

Support package paths are loaded during MATLAB startup. Therefore, it is expected that support package paths are not on the MATLAB path after executing 'restoredefaultpath'.
Therefore, to restore your support package paths, restart MATLAB. During startup, MATLAB will automatically regenerate the support package paths under the root folder returned by 'matlabshared.supportpkg.getSupportPackageRoot' and add them to the MATLAB path.

More Answers (0)

Categories

Products

Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!