Narrowband Receive Array of phased array system toolbox has error when when using HDL coder

조회 수: 3 (최근 30일)
From document of Narrowband Receive Array:
Incident signal X supposed to be a complex-valued M-by-L matrix, but during HDL code generation, I got this error:
Block 'Narrowband Receive Array' does not support matrix types on its ports for HDL code generation.
I was confused with this error description, in the help document, it said the input should be a matrix, but matrix type is not supported on its port.
What can I do to solve this error?

답변 (1개)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU 2023년 11월 24일
Dear Zuyuan,
I understand the issue that you encountered with the "Narrowband Receive Array" block it is due to its incompatibility for matrix types on its ports during HDL code generation. Instead, you should try reshaping your input signal into a vector before connecting it to the block.
To address this, you can consider the following approaches:
  1. Use the Reshape block from Simulink to convert your input signal from a matrix to a vector before conn ecting it to the "Narrowband Receive Array" block.
  2. Alternatively, you can utilize the Array of Buses feature to pass multiple signals as a single bus to the block. This feature allows you to generate HDL code for subsystems with an array of buses.
For more detailed information on the "Array of Buses" feature and its benefits refer to the https://www.mathworks.com/help/hdlcoder/ug/generate-hdl-code-for-subsystems-with-array-of-buses.html.
Hope this helps!
  댓글 수: 1
zuyuan
zuyuan 2024년 2월 1일
I think the block itself does not support HDL code generation, even the matrix issue is sorted, it still won't work.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Transmitters and Receivers에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by