Can I return the xml string from writestruct?
이전 댓글 표시
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
Stephen23
2026년 7월 27일
writestruct does not provide an option to return the generated XML as a string.
Martin Dale
2026년 7월 27일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Structured Data and XML Documents에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!