simulink.compiler.genapptemplate
R2026bDescription
simulink.compiler.genapptemplate(
generates a simulation app template from an existing simulation app. A simulation app
template captures the UI layout, components, and callbacks of an existing simulation app,
without model-specific details. The template is a folder containing an
appName).mlapp file and an assets subfolder with supporting resources such as
images, CSS, JavaScript®, and HTML files. The function names the generated template
SimAppTemplate and saves it in the current working folder. You can
customize the template in App Designer, then use it to create new apps for different models
without rebuilding the UI from scratch.
simulink.compiler.genapptemplate(
generates a template with additional options specified by one or more name-value arguments.
For example, to specify the name and save location of the new template, use
appName,Name=Value)TemplateName and OutputDir arguments,
respectively.