Reading .xlsx data with header text
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi all, how to read .xlsx data which is having text a header. I want to the same format even after i save the data from matlab to .txt
댓글 수: 0
답변 (1개)
Monika Jaskolka
2021년 5월 25일
The readtable function works for both spreadsheet (.xlsx) and text files (.txt). It will also consider the first row as the header.
T1 = readtable('File1.txt');
T2 = readtable('File2.xlsx');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!