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.

Supported File Formats ............................ 6-21<br />

Saving and Loading MAT-Files ...................... 6-23<br />

Exporting Data to MAT-Files ........................ 6-23<br />

Importing Data from MAT-Files ...................... 6-30<br />

Accessing Files with Memory-Mapping .............. 6-34<br />

Overview of Memory-Mapping in <strong>MATLAB</strong> ............ 6-34<br />

The memmapfile Class ............................. 6-38<br />

Constructing a memmapfile Object ................... 6-40<br />

Reading a Mapped File ............................. 6-54<br />

Writing to a Mapped File ........................... 6-59<br />

Methods of the memmapfile Class .................... 6-67<br />

Deleting a Memory Map ............................ 6-69<br />

Memory-Mapping Demo ............................ 6-69<br />

Importing Text Data ............................... 6-75<br />

The <strong>MATLAB</strong> Import Wizard ........................ 6-75<br />

Using Import Functions with Text Data ............... 6-75<br />

Importing Numeric Text Data ....................... 6-78<br />

Importing Delimited ASCII Data Files ................ 6-79<br />

Importing Numeric Data with Text Headers ............ 6-80<br />

Importing Mixed Alphabetic and Numeric Data ......... 6-81<br />

Importing from XML Documents ..................... 6-83<br />

Exporting Text Data ............................... 6-84<br />

Exporting Delimited ASCII Data Files ................ 6-85<br />

UsingthediaryFunctiontoExportData .............. 6-87<br />

Exporting to XML Documents ....................... 6-88<br />

Working with Graphics Files ........................ 6-89<br />

Getting Information About Graphics Files ............. 6-89<br />

Importing Graphics Data ........................... 6-90<br />

Exporting Graphics Data ........................... 6-90<br />

Working with Audio and Video Data ................. 6-92<br />

Getting Information About Audio/Video Files ........... 6-92<br />

Importing Audio/Video Data ......................... 6-93<br />

Exporting Audio/Video Data ......................... 6-94<br />

Working with Spreadsheets ......................... 6-97<br />

xiii

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

Saved successfully!

Ooh no, something went wrong!