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.

Antworten (2)

Star Strider
Star Strider am 13 Mär. 2015

2 Stimmen

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Chaitanya Bade
Chaitanya Bade am 31 Mär. 2017

0 Stimmen

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

Produkte

Gefragt:

am 13 Mär. 2015

Kommentiert:

am 12 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by