Hi,
I build a comminucation channel in Simulink, that can simulate bandwitdth, latency and package loss. To create messages I can transmit through the channel, I am working with a stateflow channel, that creates a message every 10 sec and the "message receive" block that receives the messages.
The received messages are necessary input to a controler, updating its parameters every time there is a new data available, but also has the restrictions, that data being older than 10s are not relevant anymore. Due to the stateflow block, the receive block and the sample time of my simulation(10s) all my message are older than 10s and therefore not relevant anymore, when passed to the controler.
(create message --> transmit through communication channel --> receive message --> pass to controler)
Is it possible to decouple execution of blocks from the sample time? More precise, is it possible for the "message receive" block to receive, when there is a new message available and not in intervalls defined from the inherited sample time of the simulations configurations?
Thanks :)