While using HDL coder in simulink received this error: Cannot find the implementation for block 'Filename/scope'

조회 수: 2 (최근 30일)
The main issue with this error is that there is no scope in my design. Though there were previously other blocks that were not supported by the HDL coder I removed them. I am only trying to make a simple DDS for use in a lab. The DDS works well in simulink but cannot be converted.
Thank you

답변 (1개)

Tim McBrayer
Tim McBrayer 2014년 10월 28일
'Filename/scope' should never appear; the 'Filename' portion doesn't make any sense; that should be the name of a Simulink library, like 'built-in'.
Can you generate HDL code for any model? Or is this specific to this model file? if the model is simple, perhaps you can reconstruct it in another model, and see if the problem reoccurs.
  댓글 수: 1
Jean-Christophe
Jean-Christophe 2014년 10월 29일
Actually I have now solved my problem. I simply copy pasted the Simulink blocks into a new project and it worked well. Thanks for the advice.

댓글을 달려면 로그인하십시오.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by