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

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Tim McBrayer
Tim McBrayer il 28 Ott 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 Commento
Jean-Christophe
Jean-Christophe il 29 Ott 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.

Accedi per commentare.

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by