FUNCTION REFERENCE
rehash
Refresh negative function-file lookup results.
Refresh negative function-file lookup results.
Syntax
rehashSyntax
rehash pathForgets the function files loaded and the names not found earlier in the current folder, on the search path and in private folders, so files created or edited since are found. Path changes and cd refresh lookups by themselves, and every Command Window line or run starts with fresh lookups: rehash only matters for files that change while one run is going.
Example
rehash % no outputDifferences from MATLAB: toolbox, pathreset, toolboxreset and toolboxcache are accepted and act like rehash.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.