Slowing down the simulation in simulink

Hi i have created a model which will be connected to a PLC and act as the "Plant" by having the inputs signals from the OPC server and send the response back on the OPC. However in order to do this i have to slow down the simulation to real time. Any one that know how to do this? In my model i have transferfunctions and functions which is declared in matlab. any tips is most welcome

Answers (1)

You can use the Real-Time Pacer entry on the File Exchange, if "soft" real-time using your CPU clock is fine.
- Sebastian

Products

Asked:

on 16 Feb 2016

Answered:

on 16 Feb 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!