Syntax
Description
demo
opens the Demos panel in the Help browser. In the left pane, expand the listing for a product area (for example, MATLAB). Within that product area, expand the listing for a product or product category (for example, MATLAB Graphics). Select a specific demo from the list (for example, Visualizing Sound). In the right pane, view instructions for using the demo.
For platforms that do not support Java GUIs, the demos are presented in a non-Java interface. To run a demo from the command line, type the demo name. For playshow demos, that is those demos in which the H1 line begins with two comment symbols (%%
), type playshow
followed by the demo name.
demo
opens the Demos panel in the Help browser with the specified subtopic expanded. Subtopics are subtopic
matlab
, toolbox
, simulink
, and blockset
.
demo
opens the Demos panel in the Help browser to the specified product or category within the subtopic.subtopic product
Accessing Toolbox Demos
To find the demos relating to the Communications Toolbox, type
The Help browser opens to the Demos panel with the Toolbox subtopic expanded and with the Communications product highlighted and expanded to show the available demos.
Accessing the Simulink Automotive Demos
To accesses the automotive demos within Simulink, type
The Demos panel opens with the Simulink subtopic and Automotive category expanded.
Running a Demo from the Command Line
to run a visualization demonstration showing an animated L-shaped membrane.
Running a Playshow Demo from the Command Line
to run an earthquake data demo. Not much appears to happen. This is because quake
is a playshow demo. Verify this by viewing the M-file, quake.m
, for example, by typing
The first line, that is, the H1 line for quake
is
The %%
indicates that quake
is a playshow demo. So to run it, type
No comments:
Post a Comment