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.

回答 (1 件)

Kiran Kintali
Kiran Kintali 2021 年 8 月 5 日

0 投票

>> 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.

製品

リリース

R2021a

タグ

質問済み:

2021 年 8 月 4 日

回答済み:

2021 年 8 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by