How can I import a file.txt on excel using as delimiters the comma(,), the semicolon(;) and the underscore(_)?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    EL
 el 18 de Mzo. de 2017
  
    
    
    
    
    Respondida: Walter Roberson
      
      
 el 18 de Mzo. de 2017
            I need to import a set of data of this form
 1;2017-03-13_13-37-04;,5,0,0,3d,a2
I need the delimiters to be the comma(,), the underscore(_) and the semicolon(;). Basically I want the 1 to be on the first section of my excel page 2017-03-13 on the following section 13-37-04 on the third section and so on.
Thanks in advance
0 comentarios
Respuesta aceptada
  Walter Roberson
      
      
 el 18 de Mzo. de 2017
        Maybe
filecontent = fileread('YourFileName.txt');
parts = regexp(filecontent, '[,;_\n]', 'split');
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Spreadsheets en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

