Error using xlsread (line 129) XLSREAD unable to open file. Error in img_preprocess_serial (line 11) MATLAB:xlsread:FileNotFound
2 views (last 30 days)
Show older comments
I am using Matlab image processing, then it appears a question that "Error using xlsread ( line 129 ) XLSREAD unable to open file Error in img _ preprocess _ serial ( line 11 ) MATLAB : xlsread : FileNotFound". I want to ask why this is, how to solve it ?
0 Comments
Answers (1)
Niranjan Sundararajan
on 28 Jun 2023
Hey there,
This error is outputted when the file you want to read does not exist. Make sure that the file you are reading is correctly named and that is exists in the working directory. I am attaching the documentation as well in case you have any further questions. https://in.mathworks.com/help/matlab/ref/xlsread.html
The basic syntax is as follows:
xlsread("test.xlsx")
This should not give any errors if the file is named "test.xlsx".
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!