is there a way to work with enabled subsystems when generating hdl code?

2 visualizaciones (últimos 30 días)
tamar erel
tamar erel el 12 de Feb. de 2017
Editada: Tim McBrayer el 13 de Feb. de 2017
I get this error mesagge: Evaluation of validate function on class hdldefaults.EnablePort failed with the error message: MATLAB: nonLogicalConditional:Operands to the and && operators must be convertible to logical scalar values
when I delete the Enable Port from the subsystem the problem dissapears

Respuestas (1)

Tim McBrayer
Tim McBrayer el 13 de Feb. de 2017
Editada: Tim McBrayer el 13 de Feb. de 2017
What is the data type of the Simulink signal feeding into the Enable port? It must be a scalar and either a boolean or a ufix1.
Also, what MATLAB release are you using?

Categorías

Más información sobre HDL Coder 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