Import data from excel

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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by