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'?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 12 Mar 2026
Modifié(e) : MathWorks Support Team le 12 Mar 2026
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.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by