Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

Examples


Use this list to find examples in the documentation.

Startup and Shutdown

Starting the MATLAB Program using File Associations on Windows Platforms

Desktop Arrangements

About the Desktop
Example of Working with Documents on the Desktop
Tool Outside of Desktop and Other Tools Grouped Inside Desktop Example
Maximized Tool in Desktop Example
Minimized Tools in Desktop Example
Tiled Documents in Desktop Example
No Empty Document Tiles Example
Maximized Documents Outside of the Desktop Example
Floating (Cascaded) Figures in Desktop Example
Undocked Tools and Documents Example

Other Desktop Examples

Running Frequently Used Statement Groups with MATLAB Shortcuts
Adding Your Own Toolboxes to the Start Button
Changing the Font — Example

Entering Statements

Completing Statements in the Command Window — Tab Completion
Basing Steps for Using Function Hints

Help, Demos, and Related Resources

Getting Better Search Results
Example — Specifying Fonts for the Help Browser
Example of Help for a User-Created Class
Providing HTML Help Files
Providing Demos

Workspace Operations

Opening the Variable Editor
Cell Arrays — Viewing and Editing in the Variable Editor
Structures — Viewing and Editing in the Variable Editor
Objects and Their Properties — Viewing and Editing in the Variable Editor
Copying and Pasting Array Elements
Cutting and Pasting Array Elements
Generating Graphs Automatically

Managing Files

Simple Search for File and Folder Names in the Current Folder Browser
Advanced Search for Files — Find Files Tool

File Exchange

Example — Finding and Downloading a File in File Exchange
Example — Using Tags to Find Files in File Exchange

Editing and Debugging M-Files

Indenting
Examples of Function Indenting Format Preference
Completing Statements in the Editor — Tab Completion
Performing an Incremental Search in the Editor
Comparing Two Text Files
Comparing Two MAT-Files
Comparing Two Folders
Using Run Configurations to Run M-Files with Input Arguments in the Editor
Create and Use a Run Configuration for an M-File
Create and Execute Multiple Run Configurations for an M-File
Using M-Lint Automatic Code Analyzer in the Editor
Suppress an Instance of an M-Lint Message in the Current File
Suppress All Instances of an M-Lint Message in the Current File
Suppress All Instances of an M-Lint Message in All Files
Debugging Example — The Collatz Problem
Example of Defining Cells
Example of Evaluating Cells
Using Publish Configurations to Publish M-Files with Input Arguments or Custom Settings

Tuning and Managing M-Files

Using the profile Function

Publishing M-Files

Example of a Published M-File
Creating a Publish Configuration for an M-File
Creating a Template for Typical Publish Settings
Creating Multiple Publish Configurations for an M-File

  


Recommended Products

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

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