Scope not working properly (ie im not getting a straight line if i use const value for a period of time)

7 次查看(过去 30 天)
Hello,
i'm trying to develop model using simulink and i have encountered this bug(?) which causes constant value (could be a const block or a const value from different source) not to show up over a certain period of time . also i did check the scope properties and for line its st line with 0.75
Any valuable info is much appreciated
regards
AT
8e523d39955e03caef8ad2307fc96e72.png

回答(1 个)

stozaki
stozaki 2020-2-9
This problem is setting of constant block. When sample period of constant block is set 'inf' and constant block only connect to scope, you can see the output.
Please see the model attached.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by