Using the load command to import data into matlab
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Diego Espinosa
am 25 Sep. 2016
Bearbeitet: Stephen23
am 25 Sep. 2016
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 25 Sep. 2016
Use xlsread() or readtable() for spreadsheets.
5 Kommentare
Stephen23
am 25 Sep. 2016
Bearbeitet: Stephen23
am 25 Sep. 2016
@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).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!