Reading .xlsx data with header text
3 ビュー (過去 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!