Simulink export data under if condition

Hello,
I am trying using only Simulink to save data in a folder under "if" condition. I would like when I read a boolean which is initialized to false no data are saved and when the boolean becomes true the data are saved until it will be false.
I am not able to find solution, please could you help me!
Pm

回答(1 个)

Does anyone have an idea?
Thank you in advance, Pm

类别

在 帮助中心 和 File Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by