How to call a function only when Matlab is not busy

2 Ansichten (letzte 30 Tage)
royk am 8 Nov. 2019
Kommentiert: royk am 9 Nov. 2019
I have a GUI that needs to run a function if an input file changes.
The GUI has a timer that calls a function "checkfiles" to regularily check for any changes in the input file meta data.
However, I only want this function to execute if the GUI is not busy with other tasks (I want to postpone checkfiles until Matlab becomes un-busy).
Is there a way to call the function only if Matlab is not busy?

Antworten (0)


Mehr zu Programming Utilities finden Sie in Help Center und File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by