How to import xlsx. files into matlab

10 次查看(过去 30 天)
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.

回答(2 个)

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

请先登录,再进行评论。


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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by