How to call a function only when Matlab is not busy

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Historical Contests 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by