Why simulink creates sine wave for 10 seconds?

6 visualizaciones (últimos 30 días)
Rafet
Rafet el 9 de Oct. de 2015
Respondida: richardxie xie el 6 de Feb. de 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

Respuestas (2)

Rafet
Rafet el 9 de Oct. de 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 el 6 de Feb. de 2020
thank you!

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by