Failed Internal Error: Could not connect the blocks in the model during HDL Code generation

4 次查看(过去 30 天)
I am trying to generate the code for the Subsystem but when i use workflow advisor to generate this error exist:
Failed Internal Error: Could not connect the blocks in the model 'Sim_EmulatedMechanics_Test'. Look for unconnected blocks or other warnings or errors and correct them to continue.
Attached ist the Model

回答(1 个)

Kiran Kintali
Kiran Kintali 2023-10-7
This usually indicates the model cannot be put in a compiled state prior to HDL Code generation.
You should consider restart MATLAB, cd to the directory where the model exists, make sure it is writable, press ctrl-d or compile the model, address any compilation issues (missing models on the path, missing setup for variables in the workspace visible to the model etc.,) prior to generating HDL from the model.

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by