Slowing down the simulation in simulink

6 views (last 30 days)
Niklas Borg
Niklas Borg on 16 Feb 2016
Answered: Sebastian Castro on 16 Feb 2016
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)

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

Products

Community Treasure Hunt

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

Start Hunting!