Kirsten
unread,Sep 10, 2012, 6:07:09 PM9/10/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I'm not sure what you mean by the dump tool. It will tell me the position where it crashed (1037), but I'm unable to get it to pick back up at this spot (the documentation on this in the textscan help is pretty weak- why is it a string??).
[Input, position]=textscan(fid, '%f %s %s %f %f %f %*s %*s %*s %*s %*f %*s %*s', 'delimiter', ',M','MultipleDelimsAsOne',1, 'headerlines', 49, 'TreatAsEmpty', 'IC');
Here's a chunk of the bad file copied below the first 49 rows that are skipped (Note, I'm skipping everything but the first 6 columns):
1,29 Jun 2012,09:17:41,74.4,74.5,74.3,---,---,---,---,---, ,
2,29 Jun 2012,09:17:42,74.2,74.6,73.8,---,---,---,---,---, ,
3,29 Jun 2012,09:17:43,73.6,73.8,73.4,---,---,---,---,---, ,
4,29 Jun 2012,09:17:44,74.1,74.4,73.8,---,---,---,---,---, ,
5,29 Jun 2012,09:17:45,74.2,74.4,74.0,---,---,---,---,---, ,
6,29 Jun 2012,09:17:46,74.1,74.1,74.0,---,---,---,---,---, ,
7,29 Jun 2012,09:17:47,74.2,74.5,74.0,---,---,---,---,---, ,
8,29 Jun 2012,09:17:48,74.4,74.5,74.3,---,---,---,---,---, ,
9,29 Jun 2012,09:17:49,74.5,74.5,74.4,---,---,---,---,---, ,
10,29 Jun 2012,09:17:50,74.5,74.6,74.5,---,---,---,---,---, ,
11,29 Jun 2012,09:17:51,74.7,74.9,74.6,---,---,---,---,---, ,
12,29 Jun 2012,09:17:52,75.0,75.4,74.6,---,---,---,---,---, ,
Here's a chunk of a good file:
1,29 Jun 2012,09:11:24,73.5,73.5,73.3,---,---,---,---,73.5, ,
2,29 Jun 2012,09:11:25,73.4,73.5,73.1,---,---,---,---,73.4, ,
3,29 Jun 2012,09:11:26,73.0,73.1,72.9,---,---,---,---,73.0, ,
4,29 Jun 2012,09:11:27,74.2,74.7,73.1,114.9,---,---,---,74.2, ,
5,29 Jun 2012,09:11:28,74.1,74.4,73.7,105.4,---,---,---,74.1, ,
6,29 Jun 2012,09:11:29,74.1,74.3,73.9,115.8,---,---,---,74.1, ,
7,29 Jun 2012,09:11:30,75.8,76.4,74.4,112.1,---,---,---,75.8, ,
8,29 Jun 2012,09:11:31,74.6,75.4,74.2,---,---,---,---,74.6, ,
9,29 Jun 2012,09:11:32,74.1,74.2,73.9,---,---,---,---,74.1, ,
10,29 Jun 2012,09:11:33,73.6,73.9,73.5,---,---,---,---,73.6, ,
11,29 Jun 2012,09:11:34,73.2,73.5,73.0,---,---,---,---,73.2, ,
12,29 Jun 2012,09:11:35,72.7,73.0,72.5,---,---,---,---,72.7, ,
13,29 Jun 2012,09:11:36,72.6,72.6,72.5,---,---,---,---,72.6, ,
There are values in that second to last column in the good file, but that is somewhat random and I skip that column anyway.
The files were all saved from a program on a windows pc to a server location and I access the server location from my mac. So.. all the files are handled the same way, saved in the same location.
See anything?