Error read xml files in matlab

4 次查看(过去 30 天)
Muhammad Habibie
Muhammad Habibie 2018-2-10
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MuPAD 入門 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!