The top design unit selected for HDL code generation may not be inside a triggered subsystem.

조회 수: 2(최근 30일)
why was this limitation intoduced in Matlab?
In Matlab 2019, this limitation is not there. I wanted to port my model to Matlab 2020b, and run into this issue. Unfortunately I don't find anything in the documentation about this error message.
Can this limitation be circumvented with some settings?
Is this limitation also there in the latest versions of Matlab?


Kiran Kintali
Kiran Kintali 2022년 6월 3일
편집: Kiran Kintali 2022년 6월 3일
The DUT targeted for code generation can be a whole model with root ports, or a regular virtual or atomic subystem, model reference block. Control subsystems such as triggered, enabled and resettable subsystems cannot be currently specificed as DUT. They need to be wrapped in one of the supported DUT configurations described above.


Find more on Code Generation in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by