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.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 2월 6일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by