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.

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

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video