How to load Excel .xlsx and .mat files into Matlab?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Josh Belandres
am 25 Apr. 2020
Kommentiert: Josh Belandres
am 25 Apr. 2020
I was able to import a .xlsx file and a .mat file containing data that I need to use for my code. However when I use "load FileName" I get an error that says "unable to read file. No such file or directory." Please let me know how to do this.
1 Kommentar
Sindar
am 25 Apr. 2020
Are you in the same folder as the file? Have you double-checked the spelling and extension (I can't tell you how many times I've been just slightly off).
Akzeptierte Antwort
per isakson
am 25 Apr. 2020
Bearbeitet: per isakson
am 25 Apr. 2020
The function, load(), cannot read excel-files.
"when I use "load FileName" I get an error" FileName is that the name of a mat-file? Or is FileName the name of a variable, the value of which is the name of a mat-file?
If FileName is the the name of a mat-file
load FileName
should work
If FileName is the name of a variable, the value of which is the name of a mat-file
load( FileName )
should work
See load()
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB 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!