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

 Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 12 Mär. 2026
Bearbeitet: MathWorks Support Team am 12 Mär. 2026

1 Stimme

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.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by