Bistatic radar example not working for rectangular arrays

The functoin "transmit()" of the bistaticTransmitter crashes when the transmitter is using a rectangular array (or, in general, any non ULA antenna) due to the function accessing the number of elements of the array as "obj.TransmitAntenna.Sensor.NumElements" instead of calculating the number of elements from the size property of the array.

 採用された回答

Sergi Aliaga
Sergi Aliaga 2026 年 4 月 9 日 20:18

0 投票

I reached out to Mathworks and, after some back and forth, they fixed the issue for R2025b onwards.

その他の回答 (1 件)

Adarsh
Adarsh 2026 年 4 月 9 日 20:05

0 投票

As per my understanding you are facing an error related to a missing field "NumElements" while running "transmit()" function of the "bistaticTransmitter". This looks like a bug.
After going through the file "bistaticTransmitter.m" I have found that the "obj.TransmitAntenna.Sensor" object contains a "getNumElements" method, after using this to get the output instead of "NumElements" property I was able to resolve the error temporarily.
Alternatively, you can try installing the latest update of MATLAB to check if its resolved in the release.
I hope this helps!

1 件のコメント

Sergi Aliaga
Sergi Aliaga 2026 年 4 月 9 日 20:18
Hi Adarsh,
Yes, it is indeed a simple bug in the way the bistaticTransmitter gets the number of antenna elements. I reached out to Mathworks and, after some back and forth, they fixed the issue for R2025b onwards, so good news!
Thank you for your answer nonetheless!
Cheers

サインインしてコメントする。

カテゴリ

製品

リリース

R2025b

質問済み:

2026 年 3 月 23 日

回答済み:

2026 年 4 月 9 日 20:18

Community Treasure Hunt

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

Start Hunting!

Translated by