| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
| On this page… |
|---|
For an introduction to accessing and using demos and code examples, see:
| Icon | Type | Description | Example |
|---|---|---|---|
|
| M-file | M-File demos:
| In the Help browser Contents pane, select MATLAB > Demos > Graphics > Square Wave from Sine Waves |
|
| M-GUI | Standalone tool for exploring a feature. | In the Help browser Contents pane, select MATLAB > Demos > Graphics > Vibrating Logo. |
|
| Model | Simulink block diagram. | In the Help browser Contents pane, select Simulink > Demos > Automotive Applications > Engine Timing Simulation. |
|
| Video | Video demos:
| In the Help browser Contents pane, select MATLAB > Demos > Getting Started > Importing Data from Files. |
Browse for demos in a product using the Help browser Contents pane.
Search for a topic of interest. Sort results by type, and then select a result from the Demos type.
The demo function
To run an M-file demo from start to finish, see Running an M-File Demo.
To run an M-file demo section-by-section:
On the demo page displayed in the Help browser, click Open filename in the Editor.
In the Editor, select Cell > Evaluate Current Cell and Advance.
To run an M-file demo in the Command Window:
Click Run in the Command Window.
Scroll up in the Command Window to see the start of the instructions.
Follow the instructions.
![]() | Searching for Documentation and Demos in the Help Browser | Going Directly to a Page | ![]() |

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 |