How to import a .xlsx file specified as filename and save it a .mat

2 次查看(过去 30 天)
I have 3 .xlsx files that need to be specifed as 'filename' then saved as a .mat file but i dont know how to do this

回答(1 个)

Kevin Holly
Kevin Holly 2022-11-3
编辑:Kevin Holly 2022-11-3
You can use uigetfile function. If you want to load multifiles, you can use the input 'MultiSelect' and set it to 'on'. You can use readtable to read the .xlsx files. Then you can use save to save the file as a .mat file.

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by