reading XML file with I8 as attribute value

조회 수: 2 (최근 30일)
michael
michael 2017년 8월 6일
댓글: Walter Roberson 2017년 8월 6일
Hello,
I'm reading some XML file using the xml_io_tools.
In the XML file I have following line:
<field storage="I8" a="A", b="B">
When I read it and would like to get the storage attribute, I'm getting NAN. If I change it to N8 / O8, there is no problem at all and I get N8 / O8.
I'd be glad to have some assistance wit this one - why it is converted to NAN?
MATLAB version R14 SP3.
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 8월 6일
Could you post a small sample file?
Walter Roberson
Walter Roberson 2017년 8월 6일
(I notice that https://www.mathworks.com/matlabcentral/fileexchange/12907-xml-io-tools does not promise it will work with MATLAB versions older than R2006b. However, I will need a test file to probe what is happening.)

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Other Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by