Development Environment    

Starting and Quitting MATLAB

Starting MATLAB

Starting MATLAB on Windows Platforms

Starting MATLAB on UNIX Platforms

Startup Directory for MATLAB

Startup Options

Reducing Startup Time with Toolbox Path Caching

Quitting MATLAB

Running a Script When Quitting MATLAB

Using the Desktop

Desktop Tools

Launch Pad

Configuring the Desktop

Opening and Closing Desktop Tools

Resizing Windows

Moving Windows

Using Predefined Desktop Configurations

Common Desktop Features

Desktop Toolbar

Context Menus

Keyboard Shortcuts and Accelerators

Selecting Multiple Items

Using the Clipboard

Accessing The MathWorks on the Web

Setting Preferences

General Preferences for MATLAB

Running MATLAB Functions

The Command Window

Opening the Command Window

Running Functions and Entering Variables

Controlling Input and Output

Running Programs

Keeping a Session Log

Preferences for the Command Window

Command History

Viewing Functions in the Command History Window

Running Functions from the Command History Window

Copying Functions from the Command History Window

Getting Help

Types of Information

Using the Help Browser

Changing the Size of the Help Browser

Using the Help Navigator

Using the Product Filter

Viewing the Contents Listing in the Help Browser

Finding Documentation Using the Index

Searching Documentation

Bookmarking Favorite Pages

Viewing Documentation in the Display Pane

Browsing to Other Pages

Bookmarking Pages

Revisiting Pages

Printing Pages

Finding Terms in Displayed Pages

Copying Information

Evaluating a Selection

Viewing the Page Source (HTML)

Viewing Web Pages

Preferences for the Help Browser

Documentation Location - Specifying the help Directory

Product Filter - Constraining the Product Documentation

PDF Reader - Specifying Its Location

General - Synchronizing the Contents Pane with the Displayed Page

Help Fonts Preferences - Specifying Font Name, Style, and Size

Printing Documentation

Printing a Page from the Help Browser

Printing the PDF Version of Documentation

Using Help Functions

Viewing Function Reference Pages - the doc Function

Getting Help in the Command Window - the help Function

Other Methods for Getting Help

Product-Specific Help Features

Running Demos

Contacting Technical Support

Providing Feedback

Getting Version and License Information

Accessing Documentation for Other Products

Participating in the Newsgroup for MathWorks Products

Workspace, Path, and File Operations

MATLAB Workspace

Workspace Browser

Viewing and Editing Workspace Variables Using the Array Editor

Search Path

How the Search Path Works

Viewing and Setting the Search Path

File Operations

Current Directory Field

Current Directory Browser

Viewing and Making Changes to Directories

Creating, Renaming, Copying, and Removing Directories and Files

Opening, Running, and Viewing the Content of Files

Finding and Replacing Content Within Files

Preferences for the Current Directory Browser

Importing and Exporting Data

Importing Text Data  

Using the Import Wizard with Text Data 

Using Import Functions with Text Data

Importing Numeric Text Data

Importing Delimited ASCII Data Files

Importing Numeric Data with Text Headers

Importing Mixed Alphabetic and Numeric Data

Exporting ASCII Data

Exporting Delimited ASCII Data Files

Using the diary Command to Export Data

Importing Binary Data

Using the Import Wizard with Binary Data Files

Using Import Functions with Binary Data

Exporting Binary Data

Exporting MATLAB Graphs in AVI Format

Working with HDF Data

Overview of MATLAB HDF Support

MATLAB HDF Function Calling Conventions

Importing HDF Data into the MATLAB Workspace

Exporting MATLAB Data in an HDF File

Including Metadata in an HDF File

Using the MATLAB HDF Utility API

Using Low-Level File I/O Functions

Opening Files

Reading Binary Data

Writing Binary Data

Controlling Position in a File

Reading Strings Line-By-Line from Text Files

Reading Formatted ASCII Data

Writing Formatted Text Files

Closing a File

Editing and Debugging M-Files

Starting the Editor/Debugger

Creating a New M-File in the Editor/Debugger

Opening Existing M-Files in the Editor/Debugger

Opening the Editor Without Starting MATLAB

Closing the Editor/Debugger

Creating and Editing M-Files with the Editor/Debugger

Appearance of an M-File

Navigating in an M-File

Saving M-Files

Printing an M-File

Closing M-Files

Debugging M-Files

Types of Errors

Finding Errors

Debugging Example - The Collatz Problem

Trial Run for Example

Using Debugging Features

Preferences for the Editor/Debugger

General Preferences for the Editor/Debugger

Font & Colors Preferences for the Editor/Debugger

Display Preferences for the Editor/Debugger

Keyboard and Indenting Preferences for the Editor/Debugger

Printing Preferences for the Editor/Debugger

Improving M-File Performance - the Profiler

What Is Profiling?

Using the Profiler

The profile Function

An Example Using the Profiler

Viewing Profiler Results

Viewing Profile Reports

Profile Plot

Saving Profile Reports

Interfacing with Source Control Systems

Process of Interfacing to an SCS

Viewing or Selecting the Source Control System

Function Alternative for Viewing the SCS

Setting Up the Source Control System

For SourceSafe Only - Mirroring MATLAB Hierarchy

For ClearCase on UNIX Only - Set a View and Check Out a Directory

Specifying the Project Configuration File - For PVCS Only

Checking Files into the Source Control System

Function Alternative for Checking In Files

Checking Files Out of the SCS

Function Alternative for Checking Out Files

Undoing the Check-Out

Using Notebook

Notebook Basics

Creating an M-Book

Entering MATLAB Commands in an M-Book   

Protecting the Integrity of Your Workspace

Ensuring Data Consistency

Defining MATLAB Commands as Input Cells

Defining Cell Groups

Defining Autoinit Input Cells

Defining Calc Zones

Converting an Input Cell to Text

Evaluating MATLAB Commands 

Evaluating Cell Groups

Evaluating a Range of Input Cells

Evaluating a Calc Zone

Evaluating an Entire M-Book

Using a Loop to Evaluate Input Cells Repeatedly

Converting Output Cells to Text

Deleting Output Cells  

Printing and Formatting an M-Book

Printing an M-Book

Modifying Styles in the M-Book Template

Choosing Loose or Compact Format

Controlling Numeric Output Format

Controlling Graphic Output

Configuring Notebook  

Notebook Command Reference

Bring MATLAB to Front Command

Define Autoinit Cell Command

Define Calc Zone Command

Define Input Cell Command

Evaluate Calc Zone Command

Evaluate Cell Command

Evaluate Loop Command

Evaluate M-Book Command

Group Cells Command

Hide Cell Markers Command

Notebook Options Command

Purge Output Cells Command

Toggle Graph Output for Cell Command

Undefine Cells Command

Ungroup Cells Command


 Development Environment Starting and Quitting MATLAB