Date: Jan 6, 2013 5:58 PM
Author: Nima Nikvand
Subject: Re: Error while evaluating TimerFcn for timer /Invalid or deleted object.
"Bruno Luong" <firstname.lastname@example.org> wrote in message <email@example.com>...
> It is completely wasteful of calling pause in Timer callback function. Remove it and increase the period of the timer.
> The timer can be killed while the callback is working. You should use try/catch to prevent the handle becomes incorrect (GUI deleted).
Hello Bruno, Thanks for your comment. The pause is added to the timer function so that the display blinks. As far as the error is concerned, it somehow miraculously disappeared after a few trials. I am still wondering what caused this error.