Contenu principal

deployApplicationPackage

R2026b

Deploy application package to selected target computer

Since R2022b

    Description

    [status,applicationId] = deployApplicationPackage(tg, swPackageName) deploys the application package on to the target and returns the status.

    Examples

    collapse all

    Deploy the application package myApplicationPackage on to the target.

    tg.deployApplicationPackage('myApplicationPackage')

    Input Arguments

    collapse all

    Target computer for the deployed application, specified as a linuxTarget object. The object provides access to methods that manipulate the target computer properties.

    Example: tg

    Specify the name of the application package (mldatx file). You can also provide the path of the package if it is not available in the working folder.

    Example: 'BrakeController', 'BrakeController.mldatx', '/matlab/autosar/BrakeController.mldatx'

    Output Arguments

    collapse all

    Returns true if application package is deployed on to the target. false if the application package cannot be deployed.

    Returns application Id of the application package if deployment is completed. And empty if deployment on to the target cannot be completed.

    Version History

    Introduced in R2022b