Why simulink creates sine wave for 10 seconds?

12 次查看(过去 30 天)
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

回答(2 个)

Rafet
Rafet 2015-10-9
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 2020-2-6
thank you!

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by