How do you write a function that imports data from an .xlsx file and saves the data as a .mat?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Amanda
le 27 Oct 2022
Commenté : KALYAN ACHARJYA
le 27 Oct 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 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 27 Oct 2022
Modifié(e) : KALYAN ACHARJYA
le 27 Oct 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 commentaires
KALYAN ACHARJYA
le 27 Oct 2022
Ensure that file in current working directory & check the file name again.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!