I am working on an assignment using an oscilloscope and measuring signals. I have written a program to automatically set parameters for an oscilloscopes output data to write a specific number of files(lets call that N). I have all of these files in a document.
I want to import these files into Matlab, extract the necessary data, and plot them in real time in one second intervals (between file to file).
Example run
Write twelve files (N=12) into documents/development
create a while loop that will escape when any key is entered
use textread to read the each file (i do not have an updated version of matlab so I cant use textscan).
plot the data
move to next file
end
The problem is that the filenames are not consistent, they are all named according to the time it took to process them so they differ by different amounts everytime (stream-july-10-10:12 , stream-july-10-10:13, stream-july-10-10:15 for example.
So I need a way of moving to the next file and plotting it without having to actually go by the name of the file.
I know its alot but any help or any point in the right direction would be much appreciated.
Thanks, Jmitch