I would use the xlsread function. Look through the documentation to understand how to assign its output to your variable.
Import data from excel
1 次查看(过去 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!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!