Can I return the xml string from writestruct?
Afficher commentaires plus anciens
I am successfully using the "writestruct()" function to export my structure to XML but due to the application this xml is being read into afterwards I need to do a bit of tweaking to the output file contents.
Is there a way to return the generated XML string rather than have Matlab write it to file? I can fopen/fprintf my modifed xml string easily enough afterwards.
2 commentaires
Stephen23
le 27 Juil 2026 à 14:03
writestruct does not provide an option to return the generated XML as a string.
Martin Dale
le 27 Juil 2026 à 14:22
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structured Data and XML Documents dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!