Documentation

demo

Access product examples in Help browser

Syntax

Description

demo displays the list of MATLAB® examples in the Help browser.

example

demo type lists the examples for the specified product. Valid values for type are matlab or simulink.

example

demo type name lists the examples for products other than MATLAB or Simulink®. Valid values for type include matlab, simulink, toolbox, or blockset.

Examples

collapse all

MATLAB Examples

demo matlab

Communications System Toolbox Examples

demo toolbox 'communications system'

Simulink Control Design Examples

demo simulink 'simulink control design'

Input Arguments

collapse all

type — Product name or typematlab (default) | simulink | toolbox | blockset

Product name or type, specified as one of these strings: matlab, simulink, toolbox, or blockset. For products other than MATLAB or Simulink, you must also specify a name input that corresponds to the product name.

name — Product name other than MATLAB or Simulinkstring

Product name other than MATLAB or Simulink, specified as a string. If name requires multiple words, enclose it in single quotes.

More About

collapse all

Tips

  • To access third-party and custom examples without using the demo command, open the Help browser and navigate to the documentation home page. Then, at the bottom of the page, click Supplemental Software.

See Also

| | |

Introduced before R2006a

Was this topic helpful?