Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Can't import Excel data

Asked by Beril Emrealp

Beril Emrealp (view profile)

on 12 Dec 2012

Hello friends, I have an Excel spreadsheet which have 10 columns and 10000 rows. I want to import this spreadsheet to MATLAB. But when I try this, a new window comes with a table, but the table is empty. But it has to be fill with my data. How can I get an Excel data to my workspace? Please help me.

1 Comment

Jan Simon

Jan Simon (view profile)

on 12 Dec 2012

Please explain what "when I try this" exactly means. It is hard to guess such details.

Beril Emrealp

Beril Emrealp (view profile)

Products

1 Answer

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 12 Dec 2012
Edited by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 12 Dec 2012
Accepted answer
 [v,T,vT]=xlsread('Yourfolder/yourfilename')

1 Comment

Beril Emrealp

Beril Emrealp (view profile)

on 12 Dec 2012

Thank you for the answer, it works great. :)))

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

Contact us