Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How do I input data into my Simulink model at specific times?

1 vue (au cours des 30 derniers jours)
Victoria Aguila
Victoria Aguila le 27 Avr 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a Simulink model that needs data at specific times. How do I implement this without using step functions? Is there a way to incorporate the timing information in a Matlab initialization script?
Thanks, Victoria
  2 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 27 Avr 2016
What does that mean?
Victoria Aguila
Victoria Aguila le 28 Avr 2016
Hi, I had some data that needed to be fed into my Simulink model at specific times, so I developed an input signal in my Simulink model using step functions that provide data to my system at specific step times. I was wondering if there are other ways to input the data into my model without doing this method.

Réponses (1)

Muhammed Fasil
Muhammed Fasil le 28 Avr 2016
Dear Victoria Aguila,
Did u mean this? (As in attachment) Use pause simulation and change the value.
  1 commentaire
Victoria Aguila
Victoria Aguila le 28 Avr 2016
Hi, I don't think that I could do that though, since the data had to be inputted around 0.003, 0.019, 0.023 seconds, etc.

Community Treasure Hunt

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

Start Hunting!

Translated by