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

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')

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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!

Translated by