The value of 'filename' is invalid. It must satisfy the function: exist.
Ältere Kommentare anzeigen
The value of 'filename' is invalid. It must satisfy the function: exist. getting this error while executing test case
3 Kommentare
Luca Ferro
am 6 Mär. 2023
could you share the code filename and possibly the code?
Bharathi
am 6 Mär. 2023
chrisw23
am 7 Mär. 2023
..try this
myFilePath = "...SL_B007_27_DmeSensorSelection.xxx";
fInfo = System.IO.FileInfo(myFilePath);
if fInfo.Exists
...
end
Antworten (1)
Swaraj
am 5 Apr. 2023
2 Stimmen
The error is coming because some test is trying to use a file which does not exist.
You can go through the exist function documentation for more details and check if all files that your test is using are present at the specified paths.
Also, you can check if all the files under use have names as per the standards.
Kategorien
Mehr zu Outputs finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!