Simulink.exportToTemplate
Create template from model or project
Syntax
Description
creates
a template file (templatefile
= Simulink.exportToTemplate(obj
,templatename
)
)
from a model or project specified by templatename
.sltxobj
.
specifies additional template options as one or more name-value arguments.templatefile
= Simulink.exportToTemplate(obj
,templatename
,Name=Value
)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
If you have project templates created in R2014a or earlier (.zip
files), use Simulink.exportToTemplate
to upgrade them to
.sltx
files. Then, you can use the templates in the Start
Page.
Version History
Introduced in R2016a