need a code to restart matlab automatically run a function and then restart matlab doing the same
Afficher commentaires plus anciens
Hi guys, I need a function that allows me to close matlab then open matlab and run a specific function then close again and then restart.
The rationale behind this is that the matlab timer function gives me lots of errors after a few hours. If I restart matlab then I can circumvent the problem.
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 27 Fév 2015
Why not fix the errors? This sounds like a pretty bad workaround.
Here it is anyway:
system('matlab &');quit
2 commentaires
AA
le 27 Fév 2015
Sean de Wolski
le 27 Fév 2015
In your code, I suspect? Why not fix it?
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!