How to import xlsx. files into matlab

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)

Use the xlsread function. You have to have Excel installed on your computer.

1 Comment

How can we do if we dont have excell ? and when we use the online version? Thank you .

Sign in to comment.

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

Products

Asked:

on 13 Mar 2015

Commented:

on 12 May 2021

Community Treasure Hunt

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

Start Hunting!