Main Content
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
.
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 them in the start
page.
specifies
additional template options as one or more Name, Value pair arguments.templatefile
= Simulink.exportToTemplate(obj
,templatename
,Name,Value
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2016a