Prev: figure border
Next: Modify GUI dynamically
From: Cyrus on 24 Jul 2010 23:26 Hi all, I have an infinite while loop that performs integrations in real time (hence the need for an infinite while loop). What I would like to figure out; however, is a way to break out of the loops if the user hits a key like the space bar, for example. Any feedback would be greatly appreciated!
From: someone on 24 Jul 2010 23:50 "Cyrus " <cabdolla(a)umd.edu> wrote in message <i2gasc$k86$1(a)fred.mathworks.com>... > Hi all, > > I have an infinite while loop that performs integrations in real time (hence the need for an infinite while loop). What I would like to figure out; however, is a way to break out of the loops if the user hits a key like the space bar, for example. Any feedback would be greatly appreciated! Ctrl+C - but that will also terminate the program.
From: us on 25 Jul 2010 16:34 "Cyrus " <cabdolla(a)umd.edu> wrote in message <i2gasc$k86$1(a)fred.mathworks.com>... > Hi all, > > I have an infinite while loop that performs integrations in real time (hence the need for an infinite while loop). What I would like to figure out; however, is a way to break out of the loops if the user hits a key like the space bar, for example. Any feedback would be greatly appreciated! a hint: - look at this FEX submission as well as its offspring... http://www.mathworks.com/matlabcentral/fileexchange/7465-getkey us
|
Pages: 1 Prev: figure border Next: Modify GUI dynamically |