Timer Object throws an exception when the system is changed.

1 view (last 30 days)
Test Case:
1) Create a periodic timer object. say: >>t = timer('ExecutionMode','fixedRate','Period',0.25); and then start it.
>> start(t);
2) When the Timer object is still running , Trying chaging the system time.
Observation : MATLAB will report an exception. Is that normal (Expected) ?

Accepted Answer

Jan
Jan on 19 Jun 2013
It depends on the definition of "expected". This behavior is not bewildering or mysterious, but changing the system time is no such exceptional that I would expect the timer to crash.
Please send the error report together with the OS and Matlab version information to the technical support and ask for an enhancement.

More Answers (0)

Categories

Find more on Construct and Work with Object Arrays in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!