Why do I receive "Continuous sample times not allowed for downsample blocks" when doing a Hardware in the Loop (HITL) Co-Simulation of my model?
This can be caused by very small sample times, or by not having a sample time set for all the inputs to the System Generator for DSP Model.
You can try the following to see if these methods resolve the problem:
1. Set the input blocks to the System Generator for DSP model with a sample time, instead of 0, which tells Simulink use continuous sample time.
2. Add Gateways to the inputs of your Hardware in the Loop block.
3. You can also try adding Zero Order hold blocks from the Simulink Blocksets, after the Gateway outs in the subsystem where the Hardware in the Loop Co-Simulation block is located.