About code generation outVal result

3 ビュー (過去 30 日間)
hin
hin 2019 年 8 月 18 日
コメント済み: Denis Gurchenkov 2019 年 9 月 26 日
A very good model to run in simulink such as the first to fifth second is 0 and the fifth to tenth second is 10 ,But After automatic code generation(c++) the outVal result always showed 10 This is not what I expected.
Why does this happen? Is there something wrong with setting?
  1 件のコメント
Denis Gurchenkov
Denis Gurchenkov 2019 年 9 月 26 日
The quesiton is very generic. I think it will be difficult for anyone to make suggestions without seeing the details of your model, what blocks are in it, what does the model do.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by