Error using xlsread (line 129) XLSREAD unable to open file. Error in img_preprocess_serial (line 11) MATLAB:xls​read:FileN​otFound

2 views (last 30 days)
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 ?

Answers (1)

Niranjan Sundararajan
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".

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2013a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!