How do you write a function that imports data from an .xlsx file and saves the data as a .mat?

조회 수: 4(최근 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

채택된 답변

KALYAN ACHARJYA
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
KALYAN ACHARJYA 2022년 10월 27일
Ensure that file in current working directory & check the file name again.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by