Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1(최근 30일)
Victoria Aguila
Victoria Aguila 2016년 4월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Victoria Aguila
Victoria Aguila 2016년 4월 28일
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.

답변(1개)

Muhammed Fasil
Muhammed Fasil 2016년 4월 28일
Dear Victoria Aguila,
Did u mean this? (As in attachment) Use pause simulation and change the value.
  댓글 수: 1
Victoria Aguila
Victoria Aguila 2016년 4월 28일
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