HDL coder error empty simulink object

11 visualizzazioni (ultimi 30 giorni)
Patrick Ormond
Patrick Ormond il 4 Ago 2021
Risposto: Kiran Kintali il 5 Ago 2021
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.

Risposte (1)

Kiran Kintali
Kiran Kintali il 5 Ago 2021
>> 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.

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Tag

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by