Break command (MATLAB)
Posted on 2007-07-31
i'm writing a matlab program to stream in live data from an external instrument, record it, plot it and send it of as an input for further processing. i'm using infinte looping in my program to achieve live streaming of the data into matlab but i'm not able to break or stop the program in the middle. is there a break command that we can use to come out of the loop when the program is running by pressing a single key or aythin else like its done in C++.
can anyone help me out with this