Contenido principal

Embedded Coder Support Package for Service-Oriented Applications on Linux

R2026b
Support package to deploy, interface with, manage, and calibrate service-oriented architecture (SOA) applications that run on a Linux® platform

Embedded Coder® Support Package for Service-Oriented Applications on Linux enables you to generate code from Simulink® models, package and deploy standalone applications to Linux target computers, and calibrate running applications in real time. You can interact with multiple target computers simultaneously from a single development machine.

You can use the support package to deploy these types of models to Linux target computers:

  • Software component models configured with the Software Component Designer app

  • Software architecture models configured with the Software Component Designer app

  • DDS Blockset models

  • AUTOSAR Adaptive software component models

  • AUTOSAR Adaptive software architecture models

The Embedded Coder Support Package for Service-Oriented Applications on Linux supports:

  • Packaging and deployment to x86_64, ARM64, and WSL2 targets

  • Linux Runtime Manager app for managing applications on multiple target computers

  • Signal instrumentation and parameter tuning

  • External mode simulation

  • Log viewer for application and system messages

The Linux Runtime Manager application runs on your development computer and enables you to manage applications on multiple target computers. You apply most of the support package functionality from the Linux Runtime Manager app.

To get started, install the support package and set up a target computer. For more information, see Install Embedded Coder Support Package for Service-Oriented Applications on Linux.

Because the support package communicates with remote target computers over SSH and network ports, follow these best practices to reduce security risks:

  • Restrict access to host and target computers to trusted IP addresses.

  • Use a dedicated router private network between host and target computers.

  • Restrict privileges to the deployment location to the necessary users.

Linux Runtime Manager application window showing the Targets Tree, application list, and signal instrumentation panels.

Objects

linux.TargetsInterface for managing target computers (Since R2022b)
linuxTargetInterface for managing target computer (Since R2024a)

Apps

Linux Runtime ManagerDeploy and prototype service-oriented architecture (SOA) application components (Since R2022b)

Functions

expand all

addTargetAdd target computer to target computers object (Since R2022b)
connectConnect Simulink to selected target computer (Since R2022b)
disconnectDisconnect Simulink from selected target computer (Since R2022b)
getIPAddressGet IP address of target computer (Since R2022b)
getSSHPortGet port number connected to target computer (Since R2023b)
getTargetGet handle of target computer (Since R2022b)
getTargetNameGet target computer name (Since R2022b)
getUserNameGet user name of target computer (Since R2022b)
isConnectedGet Boolean value representing target computer connection status (Since R2022b)
removeApplicationPackageRemove application package from selected target computer (Since R2022b)
removeTargetDelete target computer (Since R2022b)
renameTargetRename target computer (Since R2022b)
restartContainerRestart or recreate docker container (Since R2024a)
setIPAddressSet IP address for target computer (Since R2022b)
setPasswordSet password for target computer (Since R2022b)
setSSHPortSet SSH port number (Since R2023b)
setTargetConnectionStatusCallbackSet callback function to trigger when status of connection to target computer changes (Since R2022b)
setUserNameSet user name for target computer (Since R2022b)
uninstallTargetDelete docker image on target computer (Since R2022b)
updateTargetUpdate docker image on target computer if there is a version mismatch (Since R2022b)
deployApplicationPackageDeploy application package to selected target computer (Since R2022b)
getAllTargetsGet list of available target computers (Since R2022b)
getApplicationsGet applications deployed to target computer and application states (Since R2022b)
getApplicationStateState of deployed application on Linux target computer (Since R2022b)
getDeploymentLocationGet deployment location for selected target computer (Since R2022b)
linux.createApplicationPackageCreate application package for model (Since R2022b)
linux.getPILConfigurationGet PIL connection configuration for model (Since R2026b)
linux.getXCPServiceConfigurationRetrieve XCP service configuration status for model (Since R2026b)
linux.setPILConfigurationSet PIL connection configuration for model (Since R2026b)
linux.setXCPServiceConfigurationSet XCP service configuration for model (Since R2026b)
linux.utils.getApplicationPackageDescriptionGet application package description (Since R2024a)
pauseApplicationPause application running on target computer (Since R2022b)
resumeApplicationResume application on target computer (Since R2022b)
setApplicationStateCallbackTrigger a function when state of application changes (Since R2022b)
setDeploymentLocationSet location for deployed application on target computer (Since R2022b)
startApplicationStart deployed application on Linux target computer (Since R2022b)
stopApplicationTerminate application that is running on target computer (Since R2022b)
getMeasurementsGet list of measurable signals (Since R2022b)
getParametersGet list of tunable parameters (Since R2022b)
getSignalsUnderInstrumentView signals selected to measure (Since R2022b)
linux.LogMessagesCreate object that contains target log messages (Since R2022b)
linux.LogMessages.getFilter and get log messages (Since R2022b)
readParameterGet value of parameter (Since R2022b)
readParametersGet values of tunable parameters (Since R2022b)
removeSignalsFromInstrumentRemove signals for which visualization is not required (Since R2022b)
restartStreamingRestart streaming of signals (Since R2022b)
selectSignalsToInstrumentAdd signals of interest to visualize application behavior (Since R2022b)
startMonitorAndTuneStart parameter tuning and signal monitoring (Since R2022b)
startStreamingStart streaming of signals and visualize results (Since R2022b)
stopMonitorAndTuneStop parameter tuning of the application (Since R2022b)
stopStreamingStop streaming signal data (Since R2022b)
writeParameterWrite or tune application parameter (Since R2022b)

Topics

Featured Examples