Importing TSV files into MATLAB
조회 수: 165 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 4월 4일
편집: MathWorks Support Team
2023년 11월 1일
How can I import a tab-separated values file, also known as as TSV file, into MATLAB for analysis?
채택된 답변
MathWorks Support Team
2023년 11월 1일
편집: MathWorks Support Team
2023년 11월 1일
The TSV file may be imported using the “readtable” function as a text file, while specifying the delimiter as a tab.
Please refer to the line of code below for a demonstration:
t = readtable("data.tsv", "FileType","text",'Delimiter', '\t');
For more information on the "FileType" options, please refer to the documentation link below:
https://www.mathworks.com/help/matlab/ref/readtable.html#namevaluepairs
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!