hello, when i generate the code from simulink model, i find the head file include (zero_crossing_types.h),but i do not want include this, how to resolve it.

 採用された回答

Fangjun Jiang
Fangjun Jiang 2024 年 3 月 28 日

0 投票

un-check the "Enable zero-crossing detection for fixed-step simulation" option in the Solver setting?
Also, search for "zero-crossing" in the configuration parameters to see if any other related settings might have affected the inclusion of this header file.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink Coder についてさらに検索

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by