How to call a function only when Matlab is not busy
2 Ansichten (letzte 30 Tage)
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?