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 Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by