Table of Contents
qc_xml_write
Writes an XML document to a file, removing extraneous newlines.
qc_xml_write(filename, doc); % Writes doc to filename with no extraneous newlines xml_string = qc_xml_write(doc); % Returns doc as a string with no extraneous newlines
This function duplicates the functionality of
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('xmlwrite')MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('xmlwrite')filename
A string containing the filename to which to write. eg. 'myxml.xml'
doc
An XML Document Object Model object.
xml_string
The XML document as a string, without the extraneous newlines.
qc_xml_write('myxml.xml', doc); % write XML doc to file myxml.xml s = qc_xml_write(doc); % get XML doc as a string
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.