How to dissect a file path and keep extension Matlab
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
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
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

