Convert XML file to a MATLAB structure
古いコメントを表示
I'm trying to convert a XML file to a matlab structure (I want to use numbers and data from the file), I've tried to use the suggested XML parse function from the website, but it does not work.
Is there another function or is there someone who could explain how to use the function? BR Johan
採用された回答
その他の回答 (3 件)
Pritom Kumar Saha
2021 年 8 月 3 日
4 投票
Try
S = readstruct("abcd.xml")
it works on my matlab version.
It should work on matlab 2020b or higher version.
3 件のコメント
NitzBr
2021 年 12 月 13 日
THANK YOU!
Seth
2022 年 3 月 9 日
This worked for me very well - thank you!
xmlread did not work well for my files/data. This is a good example of why this site is so helpful!
S. Gokhun Tanyer
2022 年 12 月 19 日
Thanks, worked elegantly. No problem left on my side. Thanks again!
Brad
2011 年 9 月 12 日
1 投票
wildan
2011 年 10 月 12 日
1 投票
How to convert DWG to XML. DWG is format from AutoCAD
1 件のコメント
Walter Roberson
2022 年 3 月 9 日
I wonder if you could do it by way of ActiveX ?
カテゴリ
ヘルプ センター および 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!