User`s guide
Desktop Tools and Development Environment
23-7
• “echodemo Function Added to Replace playshow function” on page 23-8
• “Add Demos to Favorites” on page 23-8
• “Adding Your Own Demos Type Tag Now Supported” on page 23-8
• “Bug Reporting System Introduced” on page 23-8
Hyperlink Color in the Index Pane Preference Added
You can now specify the color for links in the Help browser Index pane using the Colors
preferences pane. The hyperlink color also applies to links in the Command Window, so
changes you make to the preference apply to both tools.
New Look for Demos, Including Thumbnails and Categories
Stylistic changes were made to the Demos interface in the Help browser. On the
summary page for a product, each demo appears with a thumbnail image that provides
an indication of the type of output it creates, as well as an icon representing the type of
demo (M-file, M-GUI, model, or video).
Demos Run in Command Window as Scripts and Their Variables Now Created in Base
Workspace
In this release, all M-file demos include the Run in the Command Window link, which
executes the demo via echodemo.
In previous releases, some M-file demos provided a Run hyperlink in the display pane.
When you clicked Run, the M-file demo executed in a GUI via the playshow function.
An example of this type of demo is the MATLAB Mathematics Basic Matrix Operations
demo, intro.m. In this release, the Run hyperlink for these M-file demos has been
replaced by Run in the Command Window. It executes the demo step by step in the
Command Window via the echodemo function. Double-clicking this type of M-file demo
in the Navigator pane no longer runs the M-file demo, but opens the M-file in the Editor/
Debugger where you can run it step by step using Cell > Evaluate Current Cell and
Advance.
Compatibility Considerations
The new Run in Command Window hyperlink represent a change in the way demos
run.
The echodemo function MATLAB uses to run M-file demos in the Command Window
runs the demos as scripts. The playshow function MATLAB used to run M-file demos in