simulation issue about Scope
Mostra commenti meno recenti
hello, guys,when i run the simulation, i found the scope not display the line with the time change, it keep stop at the begining, why, how to resolve

Risposta accettata
Più risposte (1)
Paul
il 8 Lug 2023
0 voti
Hi wenchao zhang,
The Constant block, by default, has a constant sample time. For the model shown, constant sample time means that the output of the block is computed only once at the start of the simulation, as indicated by the scope. If you want to see the constant line in the scope, one way is to change the Constant block's sample time parameter to 0, i.e., continuous sample time.
1 Commento
wenchao zhang
il 8 Lug 2023
Categorie
Scopri di più su Scopes and Data Logging in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!