How can I reset the time reference in a triggered subsystem in Simulink?
Show older comments
I'm using a 'From Workspace' block in a triggered subsystem as input to a model. When the model responds to the input and a condition is met, it triggers the subsystem again. The problem is that simulation time continues so the 'From Workspace' block doesn't reset per se. Is there a way to make it reference some sort of subsystem local time which resets with the trigger?
2 Comments
Fangjun Jiang
on 7 May 2021
Not clear what is the problem. From Workspace data carries time. Put it outside of the triggered subsystem, which will ignore the data if it is not triggered.
Yuval Boneh
on 7 May 2021
Edited: Yuval Boneh
on 7 May 2021
Accepted Answer
More Answers (0)
Categories
Find more on Schedule Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!