About code generation outVal result

조회 수: 2 (최근 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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by