Examples


Use this list to find examples in the documentation.

Startup and Shutdown

Starting the MATLAB® Program from an M-File or Other File Type on Windows® Platforms

Desktop Arrangements

About the Desktop
Example of Documents in 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

MATLAB® Shortcuts — Easily Run a Group of Statements
Changing the Font — Example
Tab Completion in the Command Window
Search Documentation and Demos with the Help Browser
Adding Your Own Toolboxes to the Start Button
Adding HTML Help Files for Your Own Toolboxes to the Help Browser
Adding Demos for Your Own Toolboxes

Workspace, Search Path, and File Operations

Example Copying and Pasting Array Elements
Example Cutting and Pasting Array Elements

Editing and Debugging M-Files

Tab Completion in the Editor
Incremental Search
Using Run Configurations to Run M-Files with Input Arguments in the Editor
M-Lint Automatic Code Analyzer in the Editor
Debugging Example — The Collatz Problem
Example — Define Cells
Example — Evaluate Cells
Using Publish Configurations to Publish M-Files with Input Arguments or Custom Settings
Indenting for Enter Key
Examples of Function Indenting Format Preference

Tuning and Managing M-Files

Example Using M-Lint Messages to Improve Code
Using the profile Function

Publishing M-Files

Example of a Published M-File

  


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