Info

This question is closed. Reopen it to edit or answer.

How do I log certain samples only in Simulink?

1 view (last 30 days)
dr446
dr446 on 6 Feb 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!