MException fallback for Matlab 6.5
Afficher commentaires plus anciens
The new MException object for try catch expressions is very nice. Unfortunately I still have to support Matlab 6.5. Does anybody use a workaround, such that catch ME is still valid in the historic Matlab versions?
Réponse acceptée
Plus de réponses (1)
Jan
le 28 Jan 2012
7 commentaires
Walter Roberson
le 28 Jan 2012
Thanks. Can timer callbacks be started at comma in >= 7.4 ?
Daniel Shub
le 28 Jan 2012
When did timers start working asynchronously? I am pretty sure that at one point timers operated in the main thread and waited patiently for drawnow (or something else to flush the event queue). I first became aware of the asyncronus timer from slide 31 here: http://www.scottgorlin.com/wp-content/uploads/2008/01/day2.pdf
It seems to suggest the change was between 7.4 and 7.6.
Walter Roberson
le 28 Jan 2012
Interesting slides.
Jan
le 29 Jan 2012
Daniel Shub
le 29 Jan 2012
@Jan, can you confirm that the timers in 6.5 are asynchronus
Daniel Shub
le 30 Jan 2012
@Jan, Thank you for that. I keep learning new things about how badly behaved timer objects are.
Catégories
En savoir plus sur Exception Handling 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!