How do you write a function that imports data from an .xlsx file and saves the data as a .mat?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Amanda
am 27 Okt. 2022
Kommentiert: KALYAN ACHARJYA
am 27 Okt. 2022
I need to write a function that imports data from an .xlsx file and saves the data as a .mat using xlsread. I'm just not even sure where to start with this one
0 Kommentare
Akzeptierte Antwort
KALYAN ACHARJYA
am 27 Okt. 2022
Bearbeitet: KALYAN ACHARJYA
am 27 Okt. 2022
Load the data using readmatrix function
data_excel=readmatrix('file_name.xlsx') ; % Check the file format name
Save the file in mat format
Hope it helps!
2 Kommentare
KALYAN ACHARJYA
am 27 Okt. 2022
Ensure that file in current working directory & check the file name again.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!