cd

An alternate CD function that accommodates partial directory name matches.

Ahora está siguiendo esta publicación

function cd

MODIFIED VERSION of TMW's "Change current working directory" (cd) function.

In this version, "unique partial matches" are treated as successes.

For example, if the current directory contains a subdirectory entitled 'Test Files In Progress', typing 'cd tes' will suffice to change to that directory as long as the partial match is non-ambiguous. (If another directory called 'Tesselations' also exists in the current directory, no action will be taken.

For exact matches, or when output arguments are provided, this version reverst to the builtin cd command functionality.

USAGE: You might consider storing this function in an @char directory on your system path to overwrite the builtin cd functionality.

Citar como

Brett Shoelson (2026). cd (https://es.mathworks.com/matlabcentral/fileexchange/7179-cd), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre File Operations en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0