File Exchange

image thumbnail

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

version 1.1.0.0 (1.66 KB) by Guilherme Coco Beltramini
Wait until function, class, directory, file or variable exists (up to chosen time limit).

6 Downloads

Updated 03 Jun 2013

View License

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)

Cite As

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

Comments and Ratings (0)

Updates

1.1.0.0

Added screenshot

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux