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

2 views (last 30 days)
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

Answers (1)

Tim McBrayer
Tim McBrayer on 28 Oct 2014
'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 Comment
Jean-Christophe
Jean-Christophe on 29 Oct 2014
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.

Sign in to comment.

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!