From: Jason Gaul on 7 Jul 2010 09:45 I am currently working on a series of GUI's that takes two different data sets and processes them in order to present the data in a clear manner. The data set I am interested in is in a tab delimited text format like the text below: Static data Machine type: Location: Remarks: Date: Time: Scan rate [Hz]: Card/Channel: Emissivity []: Gain []: Sensor factor []: time_abs time_rel T3140.01P T3140.02P meanS1B maxS1B T6226.01P PC time [hh:mm:ss] DEVA time [ms] Temp [°C] Temp [°C] Temp [°C] Temp 15:02:26 4294967295 228.88 228.88 335.92 377.16 --- --- --- --- there are 15 Temp columns that I am interested in and over 7000 rows with the data at different times. I am currently trying to use A = importdata(filename, delimiter, nheaderlines) to get the data specifying the delimiter and number of headerlines. I have also tried using the import wizard via the uiimport command but still get the same problem. When I try to import the data I only get the first 59 or so lines (temperature data) of the file when I need 4000-7000 points depending on the data set. I think that this may be an issue with memory but I do not receive any memory related errors when running the code. Can anyone out there think of a reason as to why it's doing this or how to fix it. Maybe there is someway I can import smarter and not load the data I don't need. Any help would be greatly appreciated!
From: dpb on 7 Jul 2010 09:57 Jason Gaul wrote: > I am currently working on a series of GUI's that takes two different > data sets and processes them in order to present the data in a clear > manner. The data set I am interested in is in a tab delimited text > format like the text below: .... > there are 15 Temp columns that I am interested in and over 7000 rows > with the data at different times. I am currently trying to use A = > importdata(filename, delimiter, nheaderlines) to get the data specifying > the delimiter and number of headerlines. I have also tried using the > import wizard via the uiimport command but still get the same problem. > When I try to import the data I only get the first 59 or so lines > (temperature data) of the file when I need 4000-7000 points depending on > the data set. I think that this may be an issue with memory but I do not > receive any memory related errors when running the code. > Can anyone out there think of a reason as to why it's doing this or how > to fix it. Maybe there is someway I can import smarter and not load > the data I don't need. Any help would be greatly appreciated! Unless you've already filled memory w/ other data, 15 x 60 < 1000 doubles so memory isn't the issue. I'd guess there's likely some asymmetry in the data file at that point if I had to guess (like a missing/extra value, nonprinting character, etc., etc., ...). Need to dig into the details of what's in the file in more detail to be certain it is, indeed, as expected. I'd suggest looking at textscan() as more flexible option as well... --
|
Pages: 1 Prev: error.. Next: filter design. where is the specification info saved in Hd? |