Error: The class"timeObj" is undefined. Perhaps Java is not running

So I have a timer in my script. The script worked fine up 'til yesterday, now I get this error:
Error while evaluating TimerFcn for timer 'timer-8'
The class "timerObj" is undefined. Perhaps Java is not running
I dont think I have changed anything to cause this, but just in case I have tried going back to previous version of my script and they all behave as this now. I cant figure out what is wrong.
Can someone explain what this error could mean, and what might be the problem.
I am using Matlab 2011b.
Thanks

1 个评论

What is the value of TimerFcn? Put a breakpoint at the first line of whatever TimerFcn is.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

提问:

2012-9-21

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by