Write structure to file
writestruct(
writes a structure to a file with additional options specified by one or more name-value pair arguments. For example, you can export the contents of the input structure as an XML file regardless of the file extension specified inS
,filename
,Name,Value
)filename
by callingwritestruct(filename,"FileType","xml")
.