>
> several ways, actually.
> one of the simplest, if you don't care whether the logic runs every time step or not:
> just set a counter of the Switch-ON events and put the result of the comparison in AND with the condition COUNTER < 2.
thanks for your reply.
Could you please explain more..I didn't understand it completely. If you tell the exact
blocks to be used, this will be great.
I tried to implement what you have suggested. I used "N-Sample Switch". I don't know
whether this is right or wrong and I couldn't get the correct model.
Actually, the inputs are different in each simulation. What I want is once I get a number
greater than 10, I want the output to be zero and forget about the remaining entries.
I mean, we may satisfy this condition after 3 samples
in one simulation, and after 100 samples for another simulation.....etc. We can say
that the inputs have random behavior.
If there is another way, it will be very appreciated to your help.
regards