Hi All,
I am a postgraduate student who is working on a networking project, where I am trying to convert my code with HDL-coder to c from MATLAB also I have installed minGW w64 c/c++ compiler as ad-on
There were issues while using hdl-coder , once after resolving all conflicts getting the below error which I have no idea from where it is getting generated.
Could anybody guide/help me here.
The method STRING does not support multiple nodes. Use STRINGS instead.

댓글 수: 1

Walter Roberson
Walter Roberson 2021년 9월 11일
That sounds to me as if you are passing in a non-scalar string to something that expects a scalar string.

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

답변 (3개)

Kiran Kintali
Kiran Kintali 2021년 9월 15일

1 개 추천

Thanks for sharing the reproduction steps.
Classes in MATLAB are not supported for fixed-point conversion. The cryptic error about unsupported construct (property validator) is a bug and is being resolved.

댓글 수: 1

Athira Km
Athira Km 2021년 9월 20일
Thank you so much , By removing classes the earlier error got removed. But now hitting a new one.
seems like both a and b in b = pow2(a,K) are fi.
Error: POW2(A) is not supported when A is a FI object.
Could you please share if you have some thoughts on this.

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

Kiran Kintali
Kiran Kintali 2021년 9월 11일

0 개 추천

Can you share your reproduction steps? It will help with the investigation.
  • Design.m <algorithm you are trying to convert to C/HDL>
  • Testbench.m <Calling Design function>
  • Project.prj <Code generation settings and setup file>
Thanks

댓글 수: 1

Athira Km
Athira Km 2021년 9월 14일
Hi , Attaching the file below. Trans.m is the starting code and Coordinator() is the invoking method.

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

Athira Km
Athira Km 2021년 9월 14일

0 개 추천

Hi , Attaching the file below. Trans.m is the starting code and Coordinator() is the invoking method.

제품

질문:

2021년 9월 11일

댓글:

2021년 9월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by