How do you write a function that imports data from an .xlsx file and saves the data as a .mat?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
KALYAN ACHARJYA
2022-10-27
编辑:KALYAN ACHARJYA
2022-10-27
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 个评论
KALYAN ACHARJYA
2022-10-27
Ensure that file in current working directory & check the file name again.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!