HDL coder error empty simulink object

조회 수: 15 (최근 30일)
Patrick Ormond
Patrick Ormond 2021년 8월 4일
답변: Kiran Kintali 2021년 8월 5일
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일
>> 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.

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by