Effacer les filtres
Effacer les filtres

reading XML file with I8 as attribute value

1 vue (au cours des 30 derniers jours)
michael
michael le 6 Août 2017
Commenté : Walter Roberson le 6 Août 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 commentaires
Walter Roberson
Walter Roberson le 6 Août 2017
Could you post a small sample file?
Walter Roberson
Walter Roberson le 6 Août 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.)

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by