Error while using HDL coder
4 ビュー (過去 30 日間)
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
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 2021 年 9 月 15 日
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.
Kiran Kintali 2021 年 9 月 11 日
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>
Find more on Get Started with HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!