采样时间是inf,只输出了一个采样时间的值
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
请问下大家,我constant的采样时间是inf,为什么接示波器只输出了一个采样时间的值,它不应该时时都有值吗

0 commentaires
Réponse acceptée
Meet
le 23 Juil 2025
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.
For more information, refer to the following documentation link: http://www.ece.northwestern.edu/IT/local-apps/matlabhelp/toolbox/simulink/ug/how_simulink_works20.html
I hope this helps!
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!