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?

 Risposta accettata

Fangjun Jiang
Fangjun Jiang il 2 Gen 2020

0 voti

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

Più risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by