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

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.

 採用された回答

Trig
Trig 2020 年 9 月 24 日

0 投票

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 日

1 投票

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.

カテゴリ

製品

リリース

R2018a

質問済み:

2020 年 9 月 24 日

回答済み:

2020 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by