How can I change an xlsx file to a mat file?
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a long column in a form of a .xlsx file and I am trying to convert to a .mat file in order to make a signal. what is the best way to go about this?
0 Commenti
Risposte (2)
Hank
il 1 Giu 2020
Try using
A = readmatrix('spreadsheet.xlsx')
If you need to save it as a mat file
save('data.mat','A')
2 Commenti
Son
il 21 Giu 2024
I think using Import tool is the quickest way.
You can check it here: Import Spreadsheets - MATLAB & Simulink (mathworks.com)
readmatrix as Hank mention is also useful Read matrix from file - MATLAB readmatrix (mathworks.com)
0 Commenti
Vedere anche
Categorie
Scopri di più su Data Import from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!