Fritz Sonnichsen
2018-11-01 17:39:32 UTC
This happens a lot--I read in a large (200,000 lines) file generated
from a serial port and a few records are "glitched". textread aborts
producing messages like:
warning: strread: unable to parse text or file with given format string
warning: called from
strread at line 713 column 7
textread at line 249 column 31
drift at line 9 column 40
error: some elements undefined in return list
error: called from
textread at line 249 column 31
drift at line 9 column 40
I want textread to handle the error and continue. I can deal with
corrupted data in the returned arrays from there. Of worse case, I would
at least like textread to report which record it stopped on so I can
look into it.
I didn't see an option for this in the doc. Did I miss it?
Th
from a serial port and a few records are "glitched". textread aborts
producing messages like:
warning: strread: unable to parse text or file with given format string
warning: called from
strread at line 713 column 7
textread at line 249 column 31
drift at line 9 column 40
error: some elements undefined in return list
error: called from
textread at line 249 column 31
drift at line 9 column 40
I want textread to handle the error and continue. I can deal with
corrupted data in the returned arrays from there. Of worse case, I would
at least like textread to report which record it stopped on so I can
look into it.
I didn't see an option for this in the doc. Did I miss it?
Th