Unable to read XML file using xmlread?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rishabh Anand
am 7 Dez. 2020
Kommentiert: Rishabh Anand
am 7 Dez. 2020
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?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 7 Dez. 2020
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!