reading XML file with I8 as attribute value

2 Ansichten (letzte 30 Tage)
michael
michael am 6 Aug. 2017
Kommentiert: Walter Roberson am 6 Aug. 2017
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 Kommentare
Walter Roberson
Walter Roberson am 6 Aug. 2017
Could you post a small sample file?
Walter Roberson
Walter Roberson am 6 Aug. 2017
(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.)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by