AddRecursivePath

Adds the directory specified and all subdirectories to the path.

Vous suivez désormais cette soumission

This function was created before GenPath and may be helpful to those who do not have it.

It is useful to put this function in your STARTUP.M file, so you can automatically add direcories to your path when you launch MATLAB. This way, even if your directory structure has changed, you will still include all your m-files.

Example:
AddRecursivePath('c:\dev\MATLAB');

Citation pour cette source

Michael Robbins (2026). AddRecursivePath (https://fr.mathworks.com/matlabcentral/fileexchange/7764-addrecursivepath), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0