why my constant scope value is circle?

回答(1 个)

Look at your sampling time of your constant. By default, it is inf. This means it is sampled once at 0, and never again.
Change your sample time to what you want it to be to get a line.
However, this may not be necessary. A constant is just that, constant. If you add a time-dependent signal (sine wave, step) to the second port of your scope and do not change your constant sample time, you will see the constant value is present every time the time-varying signal is sampled.

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by