Using the first value of a variable during simulation in Simulink
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Berke Ogulcan Parlak
el 2 de Jun. de 2020
Respondida: Fangjun Jiang
el 2 de Jun. de 2020
This block generates output only once during simulation (at the beginning of the simulation). And I want to use the output obtained initially throughout the simulation. I tried to use Unit Delay, but I think I have to add something. Could you help?
0 comentarios
Respuesta aceptada
Fangjun Jiang
el 2 de Jun. de 2020
If the triggered subsystem is truly ran only once, then you don't need to do anything. The output value of this block is "held". Just try it.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!