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

조회 수: 5 (최근 30일)
tamar erel
tamar erel 2017년 2월 12일
편집: Tim McBrayer 2017년 2월 13일
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

답변 (1개)

Tim McBrayer
Tim McBrayer 2017년 2월 13일
편집: Tim McBrayer 2017년 2월 13일
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?

카테고리

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