I am trying to generate HDL Code for Drive System of electrical 3-phase Motors, the model consists of parent Model and many of referenced models. no errors and no warnings in the model but when i use workflow advisor to generate the code, the generated code is alwayes failed and this is the cause:
this is the models:
so, i dont know, ehats that mean and how to solve it, it would be nice, if someone could help

 Akzeptierte Antwort

Kiran Kintali
Kiran Kintali am 5 Sep. 2023
Bearbeitet: Kiran Kintali am 8 Sep. 2023

0 Stimmen

This error is unexpected from HDL Coder that happens when the DUT / referenced model has zero input and output ports. Such subsystems do not contribute to logic and lead to this error instead of a valid message with instructions. Consider adding atleast one output port that contributes to logic to workaround this error.

4 Kommentare

Mohamed Sodan
Mohamed Sodan am 6 Sep. 2023
what do you mean with the shre model, i have shared screenshot for the model, it consists of many referenced models, what do you want exactly to shar it
Kiran Kintali
Kiran Kintali am 7 Sep. 2023
Bearbeitet: Kiran Kintali am 7 Sep. 2023
A sample model and makehdl / HDL Coder instructions that can reproduce the error.
What version of MATLAB are you using?
We are trying to determine the cause of the issue based on the snapshot shared above and the error message. Any additional assistance is helpful for the MathWorks team.
Mohamed Sodan
Mohamed Sodan am 7 Sep. 2023
i am using version 2023a
hier is the complete code:
Kiran Kintali
Kiran Kintali am 7 Sep. 2023
Bearbeitet: Kiran Kintali am 8 Sep. 2023
https://www.mathworks.com/support/bugreports/3102131

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by