Reading .xlsx data with header text
Mostrar comentarios más antiguos
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
Respuestas (1)
Monika Jaskolka
el 25 de Mayo de 2021
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');
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!