"Variable time delay" block in "For Each Subsystem"

2 次查看(过去 30 天)
Hello, I try to synthesize noise coming from multiple targets to multiple sensors. I have two cascaded for-each sub-systems, the outer one iterating over sensor coordinates, the inner one interating over target coordinates. In the inner one, already the distances, propagation speeds and noise propagation delays are calculated and the undelayed noise is generated. The problem is when using the "variable time delay" block to delay the noise by the propagation delays, I get an error because the "variable time delay" block generates continous states, which seem to be not allowed in "for each" blocks. Can anyone help me there?
Thanks in Advance Torsten Knodt

采纳的回答

Kaustubha Govind
Kaustubha Govind 2012-3-28
The For Each Subsystem does not support the Variable Time Delay block at this time. Is it possible to pull the delay block outside both For Each Subsystems? Since the Variable Time Delay block can handle matrix signals, you can apply the delay to the noise signal en masse.
  1 个评论
Torsten Knodt
Torsten Knodt 2012-3-28
Thanks for the fast answer.
I can pull the VTD block out into the outer for each subsystem, but not further because the outer one summarizes them so that I have a vector of sums of VTD'ed noises at the top level model.
But good to know that the VTD block can handle matrix signals. I did not find information in the help regarding this. This should allow an workaround. I only have to output a matrix of VTD'ed noises to the top level and calculate row or column sums afterwards.
Thanks again for your fast answer. I see you are a MathWorks employee. Do you know if it is planned to support the VTD block in for blocks? It's not the first time I ran into this limitation but so far found a solution myself.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by