From: Braden on
I am importing CSV files into Matlab to plot. I would like to make a function to include in a GUI similar to the one posted here:

http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/

....except my files are CSV and are often messy like this one:

LineV,GenHz,U1,U2,U3,BarP,Tair,Tin,Bar3
240.2202,59.97601,7.426848,5.220332,Inf,,-0.2233352,23.07673,
240.1685,59.98081,7.439073,5.263041,Inf,,-0.2233352,23.06431,
239.6260,59.95683,7.506091,5.319079,Inf,,-0.09912431,23.05189,
239.4451,59.97601,7.624744,5.310561,Inf,,-0.3475460,23.05189,
239.3418,59.98081,7.553452,5.298452,Inf,,-0.3475460,23.02704,
239.2901,60.00000,7.609609,5.225839,Inf,947.3808,-0.09912431,23.02704,102.9795

What is seen here is an instrument given an error (Inf) and other instruments reading on different time schedules as others (0.1Hz rather than 1Hz).

Any suggestions?