Installation guide

Demos in the Help Browser
Demos in the Help Browser
In this section...
“About Demos” on page 4-31
“Using Demos” on page 4-32
“Adding Your Own Demos” on page 4-36
About Demos
MATLAB and related products include demos that you can access from the
Help browser Demos pane.
There are four types of demos:
M-file: Demos that tell a step-by-step story, including source code,
commentary, and output. They are published from M-file scripts to HTML
output using the Editor/Debugger. The first comment line of the demo
M-file begins with two comment symbols (
%%), and similarly, two comment
symbols (
%%) create a cell for each step. The MATLAB G raphics Square
Wave from Sine Waves demo is an M-file type demo.
M-GUI: S t and-alone too ls for exploring a feature. An example is the
MATLAB Graphics Vibrating Logo demo.
Model: Simulink block diagrams. An example is the Engine Timing
Simulation demo.
Video: Movies that highlight key features in a tool. They play in your
system brows er and require the Macromedia Flash Player plug-in. Some
also require an Internet connection. An example is the MATLAB Desktop
and Command Window demo.
The MATLAB code and Simulink blocks used in the demos (except videos) are
available for you to view and copy for use in your own applications.
See also Examples for each product in the Contents pane. These examples
are similar to demos but are integrated in the documentation.
4-31