I am using a s-function built in Simulink and I need to implement a waiting time. For example I need to do this :
send the first frame
wait 20 ms
send the second frame
wait 20 ms
send third frame
How could I establish this waiting time between 2 frames. I am using C language and a Level-1 Matlab S-function.