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

1 view (last 30 days)
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

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 27 Oct 2022
Edited: KALYAN ACHARJYA on 27 Oct 2022
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 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by