How do I log certain samples only in Simulink?

When my signal crosses a threshold, I would like to write the time the threshold was crossed and the subsystem that it came from into a file. The "to file" and "to workspace" blocks do not support this, as they will log every single timestep.

Réponses (0)

Cette question est clôturée.

Question posée :

le 6 Fév 2019

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by