How to check if matlab window has focus
Show older comments
Hello, My target is to create a time-object which will check every 10 minutes if Matlab is used. Do you have any ideas how to do it? I know how to create time object and how to use startup.m, finish.m scripts, but how can I verify if Matlab is running (and really in use) or it is just minimalized or covered by another window when user does something else?
Best regards, Pawel
4 Comments
per isakson
on 27 Jan 2014
You want to this from inside the matlab session? An alternative would be to have a separate "program" to monitor the matlab session.
Pawel Blaszczyk
on 27 Jan 2014
Walter Roberson
on 27 Jan 2014
Which operating system?
Pawel Blaszczyk
on 28 Jan 2014
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!