How to call a function only when Matlab is not busy

2 views (last 30 days)
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?

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!