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

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 12 de Mzo. de 2026
Editada: MathWorks Support Team el 12 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by