Effacer les filtres
Effacer les filtres

Why simulink creates sine wave for 10 seconds?

6 vues (au cours des 30 derniers jours)
Rafet
Rafet le 9 Oct 2015
Hi,
I am very new to simulink, and trying to construct simple block diagrams with mathmatical operators. When I add a sine wave block and a scope block it creates a 10 seconds signal, I can alternate the frequency and amplitude but I cannot increase the total time being displayed.
How can I display this signal for instance 20 seconds?
Thanks in advance,
Rafet

Réponses (2)

Rafet
Rafet le 9 Oct 2015
Sorry for bothering, I found it.
It is not related with the sine wave, it is simulation time which can be defined from the "simulation stop time" box on model window.
By setting the simulation stop time to any number it displays signals for that duration.

richardxie xie
richardxie xie le 6 Fév 2020
thank you!

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by