openExample
Open a MathWorks example
Description
openExample(
downloads the
specified example into a subfolder of the current running release
examplename
)Examples
folder and then opens it. If a copy of the example exists,
openExample
opens the existing version of the example. If the
specified example contains a project, openExample
always downloads a
new copy of the example, without overwriting previous versions of the example.
openExample(
downloads the specified
supporting file and the example it supports, and then opens the supporting file. If the
specified supporting file name is included in multiple examples,
sfile
)openExample
selects one of the examples to download.
openExample(___,
specifies options using one or more name-value arguments in addition to the input argument
in previous syntaxes. For example, to download the example to the folder
Name,Value
)C:\Work\myfiles
, set the workDir
argument to
"C:\Work\myfiles"
.