MATLAB: Can I Access a Data Store Memory at Different Rates while using Concurrent Execution

multicoremultiprocessingsimulink

My Simulink model is configured for concurrent execution with tasks running at different rates. For each of these tasks I would like to read from a Data Store Memory block using Data Store Read blocks. However, I get the following error message when attempting to do so:
In the model, the blocks 'xxx/DataStoreRead' and 'yyy/DataStoreRead' are in different rates, and are both accessing a Data Store Memory block 'DataMemory'.
Currently Simulink only allows a Data Store Memory block to be accessed by blocks with the same rate when the model is configured for concurrent execution.
Consider adjusting all the read/write blocks to have the same sample time.

Best Answer

This is not currently available in Simulink.
As a workaround, you could read from the Data Store Memory block using only the faster sample rate, then use a Rate Transition block to feed that signal into the slower rate parts of the model.