What do you want to do?
I have a .ang file that has a header that is 2099 lines long. MTEX was throwing an error when I tried to load it, and I finally figured out that on line 31 of loadEBSD_ang.m it reads in the header by reading the first 2000 lines of code.
% read file header
hl = file2cell(fname,2000);
Changing it to 3000 in the code worked.
This should really be extended to 5000 or more (or do something smart like read to the line past the last '#' in the file, because if you have a lot of phases with high hkl family numbers, you can surpass 2000.
What do you want to do? I have a .ang file that has a header that is 2099 lines long. MTEX was throwing an error when I tried to load it, and I finally figured out that on line 31 of loadEBSD_ang.m it reads in the header by reading the first 2000 lines of code.
% read file header hl = file2cell(fname,2000);
Changing it to 3000 in the code worked.
This should really be extended to 5000 or more (or do something smart like read to the line past the last '#' in the file, because if you have a lot of phases with high hkl family numbers, you can surpass 2000.