MATLAB Answers

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

5 views (last 30 days)
Avinash Tallapaneni
Avinash Tallapaneni on 9 Feb 2020
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

  0 Comments

Sign in to comment.

Answers (1)

stozaki
stozaki on 9 Feb 2020
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.

Categories

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by