Getting Error while using HDL Coder
13 views (last 30 days)
Show older comments
I am using Matlab to generate Verilog HDL code for Multivarient Newton Raphson method. I have attached my project along with the screenshot for the issue which i face while using the HDL coder. Kindly help me to resolve the issue.
3 Comments
Walter Roberson
on 22 Jul 2025
I had no problem accessing the attachment. I used "Save link as" to save the zip file (internal name: data.zip ) and unzipped the zip file to get a directory named Matlab_HDL_Coder that contained a simulink project and associated files.
Harald
on 23 Jul 2025
@Shlok, I was able to reproduce the problem accessing the attachments.
Colleagues have done an initial investigation. The links work if you switch to the mathworks.com domain. To do so, scroll to the bottom of the page, click the country currently displayed on the right, and in the popup select "United States".
My apologies for the inconvenience.
Answers (1)
Kiran Kintali
on 2 Dec 2025 at 16:29
If you are still facing the issue please reach out to MathWorks technical support.
I tried the example model in R2025b release and saw this valid error message.
>> makehdl('MV_newtonSubsystem/Subsystem')
In MATLAB Function, MV_newtonSubsystem/Subsystem/MATLAB Function, contains "'break'" . Use of while, break, continue, return, or parfor keywords in MATLAB code may prevents HDL code generation.
0 Comments
See Also
Categories
Find more on FPGA, ASIC, and SoC Development 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!