How do I find keywords in the text file (ie Wavelengths) so I can know to store after that?
When I find the keywords, how do I only get that array of numbers before until it gets to the next word (ie next array)?
So far I have only read in the file as shown below:
clear all clc FILE = textread('merge.txt','%s','delimiter','\n')
I have been exploring 'textread', 'textscan', and numerous other methods to read this in separately. The code above currently only loads everything.
Any help would be greatly appreciated!