Generate HDL error: Reference to non-existent field 'hasVariantError'.

1 次查看(过去 30 天)
When generating HDL or performing a "Run Compatibility Checker" the operation fails with the error
Reference to non-existent field 'hasVariantError'.
I've tried commenting out blocks but it doesnt seem to help.

采纳的回答

Dave
Dave 2020-9-24
As a follow-up I cleared out the mex files, deleted the SLPRJ folder & work folder from the project and the HDL is now being generated ok.

更多回答(1 个)

Kiran Kintali
Kiran Kintali 2020-9-24
Thanks for reporting this issue. An updated check compatibility of the Simulink code generation folder is added during HDL code generation in R2019b release. Clearing slprj and other temp folders should provide a workaround for this issue.

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by