Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Real time simulation

Asked by muhammad akhtar

muhammad akhtar

on 17 Jan 2012
Accepted Answer by Walter Roberson

Walter Roberson

hi I am facing a problem in simulink that the simulation runs very fast, however I want to run it in real time. Let me elaborate my point. Actually I want to run the simulation such that only one second passes in the simulation when one second passes in the real world but right now the simulation time is dependent upon my processor speed. Waiting for your replies. SALMAN

2 Comments

HidayahHilman

HidayahHilman

on 21 Feb 2012

I am working with the same thing as you. I want to ask you why exactly you have to slow down your simulation? Do you recalculate something while the simulation slow down?

muhammad akhtar

muhammad akhtar

on 24 Feb 2012

First of all sorry to reply you so late.
Actually I am using simulink model to send output to some other program which forces me run my model in realtime
regards

muhammad akhtar

muhammad akhtar

Products

No products are associated with this question.

Contact us