Importing text file
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
I want to import data from a text file that has many headers. For examlple the file would look like:
Frame(1/8139) red green blue 1 5 7 2 5 12
It is very long and each frame has the same header. Is there a way to skip over the lines with letters and only import the data?
1 Commento
  Fangjun Jiang
      
      
 il 27 Lug 2011
				Provide a little bit more of your example file, you might get better help.
Risposte (1)
  Walter Roberson
      
      
 il 27 Lug 2011
        If you use textscan() and set the CommentStyle to be 'F', then everything from the F to the end of the line will be skipped.
0 Commenti
Vedere anche
Categorie
				Scopri di più su Standard File Formats in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


