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