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

19 次查看(过去 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!