How to execute a Matlab function block with a trigger as soon as a condition holds.
8 views (last 30 days)
I want to activate a Matlab function block as soon as a condition holds. In the attached figure, the two Matlab function blocks are triggered by using a delayer. However, it takes a time since a satisfying condition is true. I want to execute the function blocks as soon as the related conditions are satisfied. Could you help me find a way of doing that?