Simulink - starting calculations in subsystem with some delay

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

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

标签

提问:

2015-9-20

回答:

2015-9-23

Community Treasure Hunt

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

Start Hunting!

Translated by