manage time with 'if ' bloc simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
I created a function if with 'if block' simulink , with two condition if x = 1 then A else B but when X changed simulink does not have enough time to compute A then B or B then A ....
-i'm working in real time -I used the block 'MERGE' to combine the output how I can manage the time .. should i add ''MEMORY BLOCK''? help please
댓글 수: 1
Kaustubha Govind
2012년 7월 17일
zikouoo: Sorry, your question is very confusing. Could you explain a little more what you mean by "but when X changed simulink does not have enough time to compute A then B or B then A" - do you mean there is an overrun in the generated code?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!