
Technical discussion about Matlab and issues related to Digital Signal Processing.
Hi, I am trying to import data from a text file containing multiple time snapshots using the textscan function. Each time snapshot is preceded by "time = #" and contains multiple columns of numbers (each column ultimately represents a different variable). Here is roughly what it looks like: time = \n # # \n # # \n # # # time = \n # # \n # # \n # # # etc. I want to use the textscan function to import all the data for one snapshot (between two "time = #" lines), but I do not want to import the # following "time =". Any help will be greatly appreciated. Thanks, Morgan