Azzera filtri
Azzera filtri

Why simulink creates sine wave for 10 seconds?

12 visualizzazioni (ultimi 30 giorni)
Rafet
Rafet il 9 Ott 2015
Risposto: richardxie xie il 6 Feb 2020
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

Risposte (2)

Rafet
Rafet il 9 Ott 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 il 6 Feb 2020
thank you!

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by