23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6 Data Import and Export<br />

diary off<br />

4 Open the diary file my_data.out in a text editor and remove all the<br />

extraneous text.<br />

Exporting to XML Documents<br />

With the xmlwrite function, you can serialize a Document Object Model<br />

(DOM)nodetoanXMLfile.<br />

<strong>MATLAB</strong> also provides these other XML functions:<br />

• xmlread — Imports from a given URL or file to a Document Object Model<br />

node<br />

• xslt — Transforms an XML document using an XSLT engine<br />

See the reference pages for these functions for more information.<br />

6-88

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!