Clear Filters
Clear Filters

Error read xml files in matlab

4 views (last 30 days)
Muhammad Habibie
Muhammad Habibie on 10 Feb 2018
Hi everyone, I am trying myself reading xml sentinel 2 using matlab. Is it possible? I cant read the what is inside the xml file of sentinel 2 and to read of each bands. Anyone have experience? Thank you
clear all clc hdf_name = 'F:\Sentinel\MTD_MSIL1C.xml' xDoc = xmlread(hdf_name); figure,imshow(hdf_name,[]); colormap(gca,'jet'); colorbar;
Error : Error using images.internal.imageDisplayParsePVPairs (line 71) The parameter, F:\Citra\Sentinel data\S2A\1.S2A_OPER_PRD_MSIL1C\2018\20180104\S2A_MSIL1C_20180104T025931_N0206_R089_T49MEN_20180104T042036\S2A_MSIL1C_20180104T025931_N0206_R089_T49MEN_20180104T042036.SAFE\MTD_MSIL1C.xml, is not recognized by imageDisplayParsePVPairs
Error in images.internal.imageDisplayParseInputs (line 69) [common_args,specific_args] = images.internal.imageDisplayParsePVPairs(varargin{:});
Error in imshow (line 241) images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});
Error in baca (line 5) figure,imshow(hdf_name,[]);
Need input and suggestion. Thank you

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!