Changing parameters with time

I am building a simuling model that requires parameters to be changed to another value at a point in time (say t=4s). The model also requires seting the position of switches and circuit breakers at points in time. Is there a way to set this within simulink or is it necessary to create a script, if so is there any example i can use to be guided by?

 采纳的回答

Fangjun Jiang
Fangjun Jiang 2020-1-2

0 个投票

Use the Step block. It can specify the initial value, final value and value-changing time.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by