I have Simulink models that I need to run at real-time (ie 1s Model time == 1s Computer time). In 2017b I'm using the "Simulation Pace" block which works perfectly when running within Simulink.
However, when I compile my model to run as standalone application (Generic Realtime Target), it does not respect the Simulation Pace and instead runs at full speed. This is an issue for me as I need to be able to run these models as standalone.
I have tried many of the Simulation Pace blocks that are available but none of them seem to work when compiled.
Is there a way to have "Simulation Pace" behaviour in a compiled model, or is there another way to have a Standalone model that can run at real-time?