Prev: KNITRO
Next: how to redirect warnings to a textbox
From: Priyanshu Agarwal on 16 Sep 2009 10:23 Hi all, I have a problem of triggering an event (change in a variable value, say y=2) when a certain variable reaches a certain value (say variable x becomes 0). How can I implement this using Events in MATLAB? Furthermore, my requirement is to trigger the event just once when the event reaches that state until the state gets changed and again reaches the same value. In other words, I need the event function should not respond when the conditions are such that successive triggering occurs. Please comment!!
From: Priyanshu Agarwal on 16 Sep 2009 13:15 "Priyanshu Agarwal" <mail2priyanshu(a)gmail.com> wrote in message <h8qsc7$fdq$1(a)fred.mathworks.com>... > Hi all, > > I have a problem of triggering an event (change in a variable value, say y=2) when a certain variable reaches a certain value (say variable x becomes 0). How can I implement this using Events in MATLAB? Furthermore, my requirement is to trigger the event just once when the event reaches that state until the state gets changed and again reaches the same value. In other words, I need the event function should not respond when the conditions are such that successive triggering occurs. > > Please comment!! Veterans please pour in suggestions or mention a reference where I can find syntax for the definition of such an event function.
|
Pages: 1 Prev: KNITRO Next: how to redirect warnings to a textbox |