troubleshoot and prevent multiple signal updates in one time step

I have run into a situation where a signal in a simulink model is occasionally being updated twice in one simulation time step. This causes my model output to as expected most of the time, but when this situation occurs, I get unexpected results.
Is there an easy (or methodical) way to trace why a signal get updated twice in a single time step?
Better yet, is there a best practices method to prevent this from occurring at all?

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 14 Apr. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by