TideMan <email@example.com> wrote in message <firstname.lastname@example.org>... > On Thursday, May 1, 2014 6:59:09 AM UTC+12, cabrego wrote: > > I've done several variations of batch file imports but this file format has thrown me for a loop. Any tips on how to attack this? > > > > > > > > header > > > > string1: val1, string2: string3, string4: val2 string5 val3 [array1], [ array2], string6 > > > > . > > > > . > > > > Footer > > Here's one way: > Read it in to a set of cell arrays as strings separated by commas: > c=textscan(fid,repmat('%s',1,5),... > 'headerlines',1,... > 'delimiter',','); > then parse each cell array.