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

Answers (1)

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

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Asked:

on 21 Nov 2016

Answered:

on 22 Nov 2016

Community Treasure Hunt

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

Start Hunting!