Hey guys,
I want to skip the lines until I reach the two numeric data columns beneath the "lag time(s)" and "g2-1" (it would be the 18th line) and plot them as x,y respectively. So basically I want to tell it to ignore first 18 lines while reading file, and after that, in each line put the number in each column in either x or y.
Your help will be appreciated, thanks.
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477361-how-to-skip-some-strings-in-a-text-file#comment_738402
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477361-how-to-skip-some-strings-in-a-text-file#comment_738402
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477361-how-to-skip-some-strings-in-a-text-file#comment_738466
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477361-how-to-skip-some-strings-in-a-text-file#comment_738466
Sign in to comment.