How to automatically run a matlab function at a particular time every day?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Raymond
le 28 Fév 2012
Réponse apportée : Chris Coutinho
le 24 Mar 2015
Hi. I'd like to run a matlab function every day at 7am. Is there an easy way to do it (besides getting up early every morning)?
0 commentaires
Réponse acceptée
Friedrich
le 28 Fév 2012
Hi,
in the case you are running Windows you can schedule a windows task:
So the task should start
matlab -r "your_mfile;quit"
2 commentaires
Daniel Shub
le 28 Fév 2012
You may also want the -nodesktop and -nosplash startup options. You should also think about compiling your function.
Plus de réponses (2)
Chris Coutinho
le 24 Mar 2015
I tried Friedrich's solution as well, and it works great. Thanks again.
Chris
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!