Error while using HDL coder

7 views (last 30 days)
Athira Km
Athira Km on 11 Sep 2021
Commented: Athira Kmon 20 Sep 2021
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.
Error in emlcprivate at 0
1 Comment
Walter Roberson
Walter Roberson on 11 Sep 2021
That sounds to me as if you are passing in a non-scalar string to something that expects a scalar string.

Sign in to comment.

Answers (3)

Kiran Kintali
Kiran Kintali on 15 Sep 2021
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 Comment
Athira Km
Athira Km on 20 Sep 2021
Thank you so much , By removing classes the earlier error got removed. But now hitting a new one.
似乎是a和b b = pow2 fi (a、K)。
Error: POW2 (A)是一个FI对象金宝app时不支持。
Could you please share if you have some thoughts on this.

Sign in to comment.


Kiran Kintali
Kiran Kintali on 11 Sep 2021
Can you share your reproduction steps? It will help with the investigation.
  • Design.m
  • Testbench.m
  • Project.prj
Thanks
1 Comment
Athira Km
Athira Km on 14 Sep 2021
Hi , Attaching the file below. Trans.m is the starting code and Coordinator() is the invoking method.

Sign in to comment.


Athira Km
Athira Km on 14 Sep 2021
Hi , Attaching the file below. Trans.m is the starting code and Coordinator() is the invoking method.

下载188bet金宝搏

Community Treasure Hunt

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

Start Hunting!