Wait until function, class, directory, file or variable exists
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)
引用格式
Guilherme Coco Beltramini (2024). 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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!