HDL coder error empty simulink object

I am trying to debug an issue with hdl code conversion from simulink where I have run the hdl code advisor with no issue but when I get to the code generation step I get the error :
Invalid Simulink object name: .
Caused by:
  • Empty object name found.
I am new to simulink/hdl coder so how do I get a list of objects within simulink to figure out where the empty one is? I have a simple system with a matlab function hooked up to delay lines on the inputs and a valid signal in parallel. I have given everything in the model editor a name so I'm not sure where the program is looking when it performs this check.

Antworten (1)

Kiran Kintali
Kiran Kintali am 5 Aug. 2021

0 Stimmen

>> mlhdlc_demo_setup('sysobj')
you can see some of the examples in the product.
>> ls
mlhdlc_sysobj_ex.m
mlhdlc_sysobj_ex_tb.m
mlhdlc_sysobj_sobel.m
mlhdlc_sysobj_sobel_tb.m
mlhdlc_sysobj_nonrestsqrt.m
mlhdlc_sysobj_nonrestsqrt_tb.m
please share your example to debug your error. We need a design, testbench and MATLAB to HDL project or Simulink model using the System object.

Produkte

Version

R2021a

Tags

Gefragt:

am 4 Aug. 2021

Beantwortet:

am 5 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by