I'm trying to write a function that will import and plot relevant data from a csv file. This is because for every file I have, there is some settings above the data that vary in length. So for example; sometimes the data starts at row 20 and sometimes 50 . Also the length of the data column varies. The columns from which I want to extract data is always the same.
How can matlab recognise from what point to take the data?
I think this should be possible as the settings only take 2/3 columns and the data is 5 or 6 columns wide, so you can 'see' where the data starts if you let matlab 'search' in the 6th column if that is possible.
Thank you in advance!