Hi, I'm having a trouble dealing with the function textscan.
In fact, I want to use that function twice inside the same script. For example, I need to read one entire file called 'test.txt' and later in my code I want to read just the end of the file and I thought to use the textscan again with the HeaderLines parameter.
If my test.txt file were formatted it will be easier, but I have something like that:
#Text 1 #NUM 3 #TSX NUM TX 1 1 0
#GRID 1 1 3 4 5 6 7 3 4 3 5 6 6 7 3 4 5 6 7 8 9
In the second call of the textscan function I wanted to read just the #GRID part. I want to know if we have another option to do that. Because I guess I can't use the same 'FID' from the same filename twice.