How to import xlsx. files into matlab

25 views (last 30 days)
Nitzan Carmi
Nitzan Carmi on 13 Mar 2015
Commented: Walter Roberson on 12 May 2021
i'm using matlab 2014b, and i'm trying to import data from xlsx. files. the problem is none of data the xlsx. files i tried wasn't recognized by matlab (it shows like the spreadsheet is blank), so i couldn't choose tables or columns to import using "import data".
can you figure out what the problem is? do i need to configure something in excel for matlab to recognize the data?
thanks.

Answers (2)

Star Strider
Star Strider on 13 Mar 2015
Use the xlsread function. You have to have Excel installed on your computer.
  1 Comment
Gaella Munyawera
Gaella Munyawera on 14 May 2020
How can we do if we dont have excell ? and when we use the online version? Thank you .

Sign in to comment.


Chaitanya Bade
Chaitanya Bade on 31 Mar 2017
Why is not this code working in matlab? Any help would be highly appreciated [TIMESTEPS,XDATA] = importfile('90.xlsx','Sheet1',2,1601);

Products

Community Treasure Hunt

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

Start Hunting!