The value of 'filename' is invalid. it must satisfy the function: exist.

7 次查看(过去 30 天)
Dear Hello,
I encountered an error while executing a test case at the unit level for condition coverage and decision coverage(R2022a) The error message states, "The value of 'filename' is invalid. It must satisfy the function: exist."
Kindly

回答(1 个)

Ganesh
Ganesh 2024-6-12
You are likely encountering this issue as MATLAB is not able to recognize a file at the filepath specified. The following could be the reasons:
  1. Files indeed do not exist at the filepath you have specified, in which of the case you need to ensure again that everything is in place.
  2. The file's naming is incosistent with the standards MATLAB uses.
You may use the following documents relevent to resolve your issue:

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by