Main Content

demo

Access product examples

Description

demo displays a list of MathWorks® featured examples in your system web browser.

demo type lists the examples for the specified product.

example

demo type name lists the examples for products other than MATLAB® or Simulink®.

example

Examples

collapse all

demo matlab
demo toolbox statistics
demo toolbox vision
demo simulink slcontrol

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 short name.

Example: demo matlab

Example: demo toolbox statistics

Product name other than MATLAB or Simulink, specified as a string scalar or character vector. Specify the product name using the product short name. For example, to display product examples for the Computer Vision Toolbox™, specify type as toolbox and name as vision.

Example: demo toolbox vision

Example: demo blockset mcb

Tips

  • To access third-party and custom examples without using the demo command, open your system web browser and navigate to the documentation home page. On the left side of the home page, click Supplemental Software. Then, click the name of the third-party or custom documentation that you want to access.

Version History

Introduced before R2006a

expand all