Using the load command to import data into matlab
조회 수: 8 (최근 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!