Clock jumps forward and back in time
Mostrar comentarios más antiguos
Hi, im having trouble with my animation in my simulink. I am plotting a reversing dolly with a trailer. The plot is in my animation function and as one of the inputs is a clock. But my problem is that the time jumps back in time. I have the clock time as a tilte in the plot: hTitle=title(sprintf('Time = %0.3g',t1(1)));. For example it will go from displayinh 0.665 sec to 0.435. I scoped the clock and it seems to be functioning correctly. It also seems to happen at a certain point in my simulation, especially when the dolly is turning. I was wondering if someone has an idea of what it could be that makes this problem.
Thanks in forehand, Soleil
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Clocks and Timers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

