Skip to Main Content Skip to Search
Product Documentation

Examples


Use this list to find examples in the documentation.

Importing or Exporting Multiple Files

Processing a Sequence of Files

Import Wizard

Example — Generating Code to Import a Text File

Importing and Exporting Text

Import Numeric Data from a Text File
Import Numeric Data and Header Text from a Text File
Import Mixed Text and Numeric Data from a Text File
Reading Data in a Formatted Pattern
Reading Data Line-by-Line
Exporting a Numeric Array to an ASCII File Using save
Exporting a Numeric Array to an ASCII File Using dlmwrite
Exporting a Cell Array to a Text File
Writing to a Diary File

Importing and Exporting Spreadsheets

Import a Worksheet or Range with xlsread
Import All Worksheets in a File with importdata
Example — Importing an Excel File with Numeric Dates
Writing to a Spreadsheet File

Memory Mapping

Constructing a memmapfile Object
Constructing the Object with Default Property Values
Changing Property Values
Mapping a Single Data Type
Formatting the Mapped Data to an Array
Mapping Multiple Data Types and Arrays
Repeating a Format Scheme
Example 1 — Reading a Single Data Type
Example 2 — Formatting File Data as a Matrix
Example 3 — Reading Multiple Data Types
Example 4 — Modifying Map Parameters
Writing to a Mapped File
When Memory Is Mapped in Nonstructure Format
When Memory Is Mapped in Scalar Structure Format
When Memory Is Mapped in Nonscalar Structure Format
Working with Copies of the Mapped Data
Memory-Mapping Demo

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS