How to dissect a file path and keep extension Matlab
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Lucas S
 el 15 de Abr. de 2019
  
    
    
    
    
    Comentada: Lucas S
 el 15 de Abr. de 2019
            I have my file path in a string : 
path = 'D:\Users\Documents\MATLAB\capella_to_matlab.txt'
How can i put only the extension in an other string (Not just for  this file but for any file i put in path variable) for example :
extension = '.txt'
Thanks for helping !
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre File Operations 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!

