Azzera filtri
Azzera filtri

Pausing Simulink to make an input

5 visualizzazioni (ultimi 30 giorni)
Suppenhuhn
Suppenhuhn il 20 Mar 2011
Hi,
I´ve got a closed-loop system in Simulink and now I wish to pause the calculation/system after every cycle to make an input of data, that I have to look after in an other program. Then Simulink is supposed to continue for the next cycle with the given data. Does anyone know, how to handle that problem ?

Risposta accettata

Murugaiyan
Murugaiyan il 21 Mar 2011
hi read this web page..... Using Blocks to Stop or Pause a Simulation http://www.mathworks.com/help/toolbox/simulink/ug/f11-31373.html cheers
  1 Commento
Suppenhuhn
Suppenhuhn il 21 Mar 2011
Thanks a lot Murugaiyan ! That works pretty good.
To make my simulation stop e.g. every 0.5s, I added 20 constant-blocks with values from .5,1,1.5,2, ... joined them with a mux and now my simulation pauses every 0.5 s (20 times)!!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Event Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by