Simulink block for initialization

2 visualizaciones (últimos 30 días)
Anand Shirke
Anand Shirke el 1 de Feb. de 2019
Comentada: Olumide Ayeni el 22 de En. de 2020
In my simulink simulation, initial value of a particular constant input is to be given by me. Later on the value is changed by the feedback signal.
The feedback signal is also constant(1x1) but changes with time. My question is is there a block for this particular condition.?

Respuesta aceptada

Dhanashree Mohite
Dhanashree Mohite el 7 de Feb. de 2019
As per my understanding, you want to use one constant value while initializing and afterwards the feedback value.
So, actually there are multiple ways. Below are some:
1. You can use unit delay block for feedback and use it’s initial condition property to set initial value.
2. You can also use triggered or enabled subsystem. You can set initial value for it’s output port. And then you can use any value as it’s input afterward.
  1 comentario
Olumide Ayeni
Olumide Ayeni el 22 de En. de 2020
Hi. Can you please explain 2. a bit more?

Iniciar sesión para comentar.

Más respuestas (1)

Anand Shirke
Anand Shirke el 11 de Feb. de 2019
Block Initial Condition works like charm!

Categorías

Más información sobre Schedule Model Components en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by