MATLAB: Refresh function and sytem path cache

defaultMATLABpath

How to reset default path and_ function and file system path caches._

Best Answer

The "restoredefaultpath" function restores search path to its factory-installed state. To refresh function and file system path caches please use “rehash” function and "_sl_refresh_customizations_"
>> rehash toolbox
>> rehash toolboxcache
>> sl_refresh_customizations
sl_refresh_customizations Refreshes Simulink menu and dialog customizations.