which block to use for feedback loop in simulink
Mostrar comentarios más antiguos
x1=x0+y;
x2=x1+y;
x3=x2+y;
where x0=initial value,,,and x value should be updated continuously ,,this I wanted to implement in simulink,,,and I have developed this with using "unit delay" block,,,but for further am changing some values of equation run time ,,,that time my "unit delay" block is starting calculation again from the initial value,,,rather i want my unit delay to take value of present calculated x value,,,,,,,,or anybody can suggest which is the best block to use for feedback loop,ehich takes initial value from defined value and next value from the feedback loop
Respuestas (1)
Azzi Abdelmalek
el 15 de En. de 2013
0 votos
Both Unit delay and Memory blocks work fine.
7 comentarios
Arun Badigannavar
el 15 de En. de 2013
Arun Badigannavar
el 15 de En. de 2013
Kaustubha Govind
el 15 de En. de 2013
(FYI, the image link doesn't work)
How do you change the value of the Constant block? Is it a variable in the workspace? If yes, you have to run set_param('modelname', 'SimulationCommand', 'update') or Ctrl+D on the model window to force Simulink to take note of the new value.
Arun Badigannavar
el 16 de En. de 2013
Arun Badigannavar
el 16 de En. de 2013
Editada: Arun Badigannavar
el 16 de En. de 2013
Azzi Abdelmalek
el 16 de En. de 2013
Arun, post your code which pauses and coninues your simulation
Arun Badigannavar
el 16 de En. de 2013
Categorías
Más información sobre String en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!