Using the load command to import data into matlab
11 次查看(过去 30 天)
显示 更早的评论
Hey everyone,
I'm a new user to MATLAB and I'm already having trouble in importing data into MATLAB. I have an excel file, or spreadsheet, that I want to import into a variable into MATLAB. I've tried using the load and import function but I keep getting errors such as 'unknown text in line 1' or 'uninterpretable data'. Could I please get help in how I can make it work?
Thanks
0 个评论
采纳的回答
Walter Roberson
2016-9-25
Use xlsread() or readtable() for spreadsheets.
5 个评论
Stephen23
2016-9-25
编辑:Stephen23
2016-9-25
@Diego Espinosa: please make a new comment and tell us:
- Which MATLAB version you are using.
- What operating system you are using.
- Whether you have MS Office installed.
- The complete error message (all of the red text).
- And upload a sample data file for us (click the paperclip button).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!