File Exchange

image thumbnail

Watchdog Timer and Counter for Simulink

version (34.6 KB) by Travis Wiens
Triggers an error if simulations run too long or take too many time steps.


Updated 07 May 2015

View License

When using variable-step solvers in Simulink, one sometimes runs into a situation where the solver "gets stuck", reducing the step size and slowing down the solution speed drastically, but not causing an error. This library has blocks that can trigger an error if the solver exceeds a specified computation time or number of time steps.

Cite As

Travis Wiens (2020). Watchdog Timer and Counter for Simulink (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Tom Buskens

Is there a possibility that this library can be optimized?? I tried it and does exactly where i was looking for. Only all my simulation take around 40% longer. I find this unaccaptable...

Tom Buskens

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux