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

2 visualizaciones (últimos 30 días)
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

Respuestas (1)

Tim McBrayer
Tim McBrayer el 28 de Oct. de 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 comentario
Jean-Christophe
Jean-Christophe el 29 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by