23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Data Import and Export<br />

• “Data from the System Clipboard” on page 6-5<br />

• “Information from the Internet” on page 6-5<br />

Binary Data from a <strong>MATLAB</strong> Session<br />

Using the <strong>MATLAB</strong> save and load functions, you can store all or part of the<br />

data in your <strong>MATLAB</strong> workspaces to disk, and then read that data back<br />

into <strong>MATLAB</strong> at a later time.<br />

Text Data<br />

In text format, the data values are American Standard Code for Information<br />

Interchange (ASCII) codes that represent alphabetic and numeric characters.<br />

ASCII text data can be viewed in a text editor. For more information about<br />

working with text data in <strong>MATLAB</strong>, see<br />

• “Importing Text Data” on page 6-75<br />

• “Exporting Text Data” on page 6-84<br />

These sections also describe how to import and export to XML documents.<br />

Graphics Files<br />

<strong>MATLAB</strong> imports and exports images from many standard graphics<br />

file formats, including the Tagged Image File Format (TIFF), Graphics<br />

Interchange Format (GIF), Joint Photographic Experts Group (JPEG), and<br />

Portable Network Graphics (PNG) formats.<br />

Audio and Audio/Video Data<br />

<strong>MATLAB</strong> provides functions to enable you to interact with the following types<br />

of audio and audio/video files:<br />

• NeXT/SUN SPARCstation sound<br />

• Microsoft WAVE sound<br />

• Audio/Video Interleaved (AVI)<br />

• Windows-compatible sound devices<br />

• Audio player and recorder objects<br />

6-4

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

Saved successfully!

Ooh no, something went wrong!