deployApplicationPackage - Deploy application package to selected target computer - MATLAB (original) (raw)
Main Content
Deploy application package to selected target computer
Since R2022b
Syntax
Description
[[status](#mw%5Fde06f030-80c4-4003-aa79-b8c39da5c9a8),[applicationId](#mw%5F2310a61a-c6f9-4bc5-bfc0-b05aab05d417)] = deployApplicationPackage([tg](#mw%5F0436f9e1-fc79-4de3-b3db-d2e80c8665d6%5Fsep%5Fmw%5Fecb97ff5-5451-46cd-b94d-c84f7faec575), [swPackageName](#mw%5F8c42a334-820d-44fd-ae09-3098653bebec))
deploys the application package on to the target and returns the status.
Examples
Deploy the application packagemyApplicationPackage
on to the target.
tg.deployApplicationPackage('myApplicationPackage')
Input Arguments
Object represents a target computer. Use the object to establish the connection with Linux target, to deploy the applications on Linux target, and perform several other actions.
Example: myTargetHandle
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
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