This question is closed. Reopen it to edit or answer.
to compare the floating value of a signal with file.mat signal
1 view (last 30 days)
In a simulink simulation i've "recorded" a signal in a file.mat. Now, in an other simulation i need to compare a new signal with file.mat-signal (i'll call file.mat-signal as m(t)).
For example with the floating value f(t) of the new signal (in the new simulation) i need to know the time t such that:
abs(f(t)-m(t)) < some tolerance value
I know that t is an element of the file.mat matrix, but i don't know how i can do the comparison in simulink.