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

조회 수: 3 (최근 30일)
Amanda
Amanda 2022년 11월 3일
편집: Kevin Holly 2022년 11월 3일
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에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by