function MetaStart(filename)
%DATASTART Create new txt file that allow matlab to read in table properly

Str = fileread(filename); % read in entire txt file
iistart = strfind(Str,'// Firmware version:'); % Only look at meta data
iiend = strfind(Str,'//--');
Str2 = Str(iistart(1):iiend(1)-3);
newfile = 'metafile.txt'; % Specify the file name
fid = fopen(newfile, 'w'); % Open the file for writing
fprintf(fid, '%s', Str2); % Write the character vector to the file
fclose(fid); % Close the file (important)
end