About code generation outVal result

1 Ansicht (letzte 30 Tage)
hin
hin am 18 Aug. 2019
Kommentiert: Denis Gurchenkov am 26 Sep. 2019
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 Kommentar
Denis Gurchenkov
Denis Gurchenkov am 26 Sep. 2019
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by