Import data from excel

2 views (last 30 days)
Konstantinos on 15 Jan 2015
Answered: Star Strider on 15 Jan 2015
I have an excel file which contains a 4x4 matrix filled in with certain values. I want to assign this matrix to a variable in matlab. Can anyone help me to achieve this ? Which command should I use ?
Any help could be useful. Thanks in advance!

Accepted Answer

Star Strider
Star Strider on 15 Jan 2015
I would use the xlsread function. Look through the documentation to understand how to assign its output to your variable.

More Answers (0)


Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by