采样时间是inf,只输出了一个采样时间的值

조회 수: 8 (최근 30일)
饕餮王
饕餮王 2025년 7월 20일
댓글: 饕餮王 2025년 7월 30일
请问下大家,我constant的采样时间是inf,为什么接示波器只输出了一个采样时间的值,它不应该时时都有值吗

채택된 답변

Meet
Meet 2025년 7월 23일
Hi,
When a Constant block in Simulink has its sample time set to 'inf', it means the block has a constant sample time, which indicates that its output does not change during the simulation and is effectively constant for all time. However, even though the block value is constant, Simulink only produces an output at certain sample time hits during simulation.
I hope this helps!
  댓글 수: 1
饕餮王
饕餮王 2025년 7월 30일
Thank you,I will study your answer very carefully

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

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!