Main Content

demo

Access product examples in Help browser

Description

demo displays a list of featured MATLAB® and Simulink® 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

demo matlab
demo toolbox statistics
demo toolbox 'communications system'
demo simulink 'simulink control design'

Input Arguments

collapse all

Product name or type, specified as '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.

Example: matlab

Example: toolbox statistics

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

Example: statistics

Example: 'communications system'

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