Wait until function, class, directory, file or variable exists

Wait until function, class, directory, file or variable exists (up to chosen time limit).

Ahora está siguiendo esta publicación

USAGE
waited = wait_for_existence(name,type,pause_time,max_time)

INPUT
- NAME: name of the function, class, directory, file or variable (must be a string)
- TYPE: 'builtin', 'class', 'dir', 'file' or 'var'
- PAUSE_TIME: amount of time to wait in the pauses (in secs)
- MAX_TIME: maximum amount of time to wait (in secs)

OUTPUT
- WAITED: 0 (if NAME exists) or 1 (if NAME does not exist and MAX_TIME has been elapsed)

Citar como

Guilherme Coco Beltramini (2026). Wait until function, class, directory, file or variable exists (https://la.mathworks.com/matlabcentral/fileexchange/41924-wait-until-function-class-directory-file-or-variable-exists), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: Create folder and rename if another has the same name

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.1.0.0

Added screenshot

1.0.0.0