fileID = fopen(full_file_name);
header = textscan(fileID, '%[^,\n]');
Here, I find all line numbers of header includes any * with two spaces or more. I need to modify the last part of the above codes to find all line numbers includes * with two spaces and following four digit numbers such as;
For example header includes:
/* GeoForschungsZentrum Potsdam
* 2021 3 28 0 0 0.00000000
The line numbers (end_of_header_line) produced from above codes includes all 4 lines. What I need to find only the last line.