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

2 次查看(过去 30 天)
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 ?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by