Simulink - starting calculations in subsystem with some delay

2 visualizzazioni (ultimi 30 giorni)
Hi.
Let say I have two sine waves. I lead them into a subsystem, where I calculate difference between their amplitudes. From the same starting point I would like to lead them into another subsystem, where I multiply one of them with amplitude ratio. But that doesn't work, because when I calculate ratio, signals have already passed my second subsystem. Thus, I was thinking about some kind of delay for that second subsystem.
Any advice? Thanks

Risposte (1)

@Johannes
@Johannes il 23 Set 2015
Hello, there is a Memory Block in Simulink which applys one integration step delay to your simulation. This could be a Solution for your Problem.
Regards, John

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by