I tried to read xml file using xmlread, but getting the following error
Error using xmlstringinput (line 42)
File MHCES_V1_3B_Turbine_RT.xml not found
Error in xmlread (line 85)
filename = xmlstringinput(filename,true);
Need help in understanding the said error?

 채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 7일

1 개 추천

You asked to read a file named MHCES_V1_3B_Turbine_RT.xml but that file does not exist in your current directory, and does not exist anywhere on the MATLAB path.
If you are trying to read a file stored in another directory, make sure to include the directory information as part of the file name. See fullfile() for a convenient way to splice together directory information and file name information.

댓글 수: 1

Rishabh Anand
Rishabh Anand 2020년 12월 7일
I have the file in the same folder that is open in the matlab workspace as the MATLAB Path.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

질문:

2020년 12월 7일

댓글:

2020년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by