필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Why is the state of action subsystem checked in generated code

조회 수: 1 (최근 30일)
Xiaohong shen
Xiaohong shen 2016년 10월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I just worte a matlab level-2 function and created a simple simulink model, refer the figures.
The code generator creates the following code:
The "if statements" at line 43 and 47 are absolutely unnecessary. They just compares the logic state differen between the current and previous function call.
I am sure there is something wrong configed within my matlab level-2 function. But I don't know what.
please help me to eliminate the unnecessary code lines

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by