Real - Time Simulink Data

I'm using MATLAB Simulink consisting of PID controller and plant model. I want to use this for Real - Time Simulation where an input is given and output is obtained with respect to time in real time (Not graph, but values w.r.t time).
Is this possible to be done? If yes, kindly suggest me the steps to do it.

Answers (1)

Niklas Nylén
Niklas Nylén on 17 Mar 2014

0 votes

To run a model in close to realtime you can for example use this: http://www.mathworks.com/matlabcentral/fileexchange/30953-simulink-block-for-real-time-execution
An prerequisite is of course that your model is able to run at least in real time when you execute it normally.

This question is closed.

Asked:

on 17 Mar 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!