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

2 views (last 30 days)
Hi,
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?

Answers (1)

Kiran Kintali
Kiran Kintali on 3 Jun 2022
Edited: Kiran Kintali on 3 Jun 2022
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.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!