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.

Réponses (2)

Star Strider
Star Strider le 13 Mar 2015

2 votes

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

1 commentaire

Gaella Munyawera
Gaella Munyawera le 14 Mai 2020
How can we do if we dont have excell ? and when we use the online version? Thank you .

Connectez-vous pour commenter.

Chaitanya Bade
Chaitanya Bade le 31 Mar 2017

0 votes

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

Catégories

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by