My simulation time is one second, but I want to switch into new input from 0.5s to 1s. please help me If you know any tool can do this feature. Thanks in advance

 采纳的回答

Les Beckham
Les Beckham 2017-1-4

3 个投票

Use the Clock block for the current simulation time and a Switch block to compare the time to your desired switch time.
This example will switch the output of the Switch block from 0 to 1 at 5 seconds.

2 个评论

ali alshetwi
ali alshetwi 2017-1-5
编辑:ali alshetwi 2017-1-5
Les Beckham, good work. Thank you so much
Bhai tu naa hota to main kya mooh dikhata master ko.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by