Main Content

linux.createApplicationPackage

Create application package for model

Since R2022b

    Description

    linux.createApplicationPackage(modelName) creates an application package file with .mldatx extension for the specified Simulink model with source code.

    example

    linux.createApplicationPackage(modelName,CreateExeForTarget = targetName) creates an application package file compatible for the targetName target without source code and with executable.

    example

    Examples

    collapse all

    For a Simulink model with name myModel, create application package using the following command:

    linux.createApplicationPackage('myModel');

    Application package gets created with source code in the folder same as the model.

    linux.createApplicationPackage('myModel', CreateExeForTarget='LinuxTarget1');

    Application package gets created with executable and without source code in the folder same as the model.

    Input Arguments

    collapse all

    Specify the model name to create the application package with source code.

    Example: myModel

    Specify a target name for the CreateExeForTarget argument to create application with executable and without source code.

    Example: CreateExeForTarget = LinuxTarget1

    Version History

    Introduced in R2022b