Main Content

Chemin de recherche

Afficher et modifier le chemin de recherche MATLAB®

Le chemin de recherche MATLAB est un sous-ensemble de tous les dossiers du système de fichiers. MATLAB utilise ce chemin de recherche pour localiser efficacement les fichiers utilisés avec les produits MathWorks®. Pour plus d’informations, consultez What Is the MATLAB Search Path?.

Fonctions

addpathAdd folders to search path
rmpathRemove folders from search path
pathView or change search path
savepathSave current search path
userpathView or change default user work folder
genpathGenerate search path
pathsepSearch path separator for current platform
pathtoolOpen Set Path dialog box to view and change search path
restoredefaultpathRestore search path to factory-installed state
rehashRefresh function and file system path caches

Rubriques

Résolution des problèmes

Resolve Issue: MATLAB Did Not Appear to Successfully Set the Search Path

Troubleshoot: MATLAB Did Not Appear to Successfully Set the Search Path. If there is a problem with the search path, you cannot use MATLAB successfully.

Errors When Updating Folders on Search Path

You can encounter errors or unexpected behavior when you try to delete, rename, or move folders.

Troubleshoot Invalid or Unresponsive Windows Change Notification Handles

If MATLAB is unable to detect changes to your files and folder due to invalid or unresponsive change notification handles, you can change how MATLAB detects changes in folders.