Waiting time in S-function
问题 I am trying to create a flashing procedure in Simulink using a S-function (C language) and I need to send some frames and the time between 2 consecutive frames should be lets say 200 milisconds. How can I implement this waiting time? Is there any possibility of implementing it? 回答1: If you want to update something every 200ms, put your S-Function into a subsystem which is triggered every 200s. 回答2: Below you can find the steps that I followed in the function: 1.create first frame 2.send first