Filter löschen
Filter löschen

manage time with 'if ' bloc simulink

1 Ansicht (letzte 30 Tage)
zikouoo momo
zikouoo momo am 17 Jul. 2012
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 Kommentar
Kaustubha Govind
Kaustubha Govind am 17 Jul. 2012
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by