Problem with Fixed time step in simulink

조회 수: 7 (최근 30일)
Hamid Radmard Rahmani
Hamid Radmard Rahmani 2018년 9월 18일
댓글: Hamid Radmard Rahmani 2018년 9월 23일
When I define a fixed time-step in simulink configuration, and run the simulation, the output has a time-step 10 times more than what I have defined.
For example: defined time-step=0.01 , duration = 20 sec, -----> output data from simulink have 200 data. (It seems that simulink is considered 0.1 instead of 0.01).
Does any body knows why?
  댓글 수: 2
Aquatris
Aquatris 2018년 9월 18일
Do you by any chance have rate transition block or have a block with a sampling time 0.1 (you can have blocks running in different sampling times than the simulation time step)?
Hamid Radmard Rahmani
Hamid Radmard Rahmani 2018년 9월 23일
Many thanks Aquatris. Yes, it was the reason.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by