How save a struct to an xml-File in Matlab?

6 ビュー (過去 30 日間)
Johanna Maynes
Johanna Maynes 2016 年 9 月 15 日
コメント済み: Walter Roberson 2022 年 5 月 30 日
I have a string in the workspace, that I can copy into an XML-File which then works perfectly fine. But how can I make Matlab directly save an xml from the string to a specified folder on my computer?

採用された回答

KSSV
KSSV 2016 年 9 月 15 日
  5 件のコメント
vishal kulkarni
vishal kulkarni 2022 年 5 月 30 日
Better to use built-in writestruct(struct, 'file.xml')
Walter Roberson
Walter Roberson 2022 年 5 月 30 日
Note: writestruct() is new as of R2020b.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructured Data and XML Documents についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by