Would it possible, in Simulink, to for example, record all the values coming out of a truth table until a certain value is detected and create a vector with all those values?
A truth table can either output 1, 2, 3 or 4
Create a vector with all the numbers that it outputs different then 4 like [1 2 2 3 1 3 2]
Then when 4 is detected it stops inputing values.
Thanks very much for the help