wANTED TO GENERATE C CODE OF SIMULINK

1 回表示 (過去 30 日間)
Dhiraj
Dhiraj 2023 年 5 月 11 日
コメント済み: Dhiraj 2023 年 6 月 29 日
Why i get the below error when i try to generate the C code of it?
below i attached the image of error

回答 (1 件)

Mark McBroom
Mark McBroom 2023 年 5 月 15 日
This looks like a code generation error for the GPIO block. I recommend sending Simulink model and error message to support@mathworks.com
One possible workaround is to add a data type conversion upstream of the GPIO blocks. The error message indicates that there is a problem with data type mismatch.
  1 件のコメント
Dhiraj
Dhiraj 2023 年 6 月 29 日
Thanku i made some changes and now i could able to do it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeC Code Generation についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by