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!