主要内容

Embedded Coder Support Package for Service-Oriented Applications on Linux

R2026b
用于部署、对接、管理和标定在 Linux® 平台上运行的面向服务的架构 (SOA) 应用程序的支持包

Embedded Coder® Support Package for Service-Oriented Applications on Linux 使您能够从 Simulink® 模型生成代码,将独立应用程序打包并部署到 Linux 目标计算机,并实时标定正在运行的应用程序。您可以从单台开发计算机同时与多台目标计算机交互。

您可以使用支持包将这些类型的模型部署到 Linux 目标计算机:

  • 使用软件组件设计器配置的软件组件模型

  • 使用软件组件设计器配置的软件架构模型

  • DDS Blockset 模型

  • AUTOSAR Adaptive 软件组件模型

  • AUTOSAR Adaptive 软件架构模型

Embedded Coder Support Package for Service-Oriented Applications on Linux 支持:

  • 打包并部署到 x86_64、ARM64 和 WSL2 目标

  • 用于管理多台目标计算机上应用程序的 Linux 运行时管理器

  • 信号插桩和参数调节

  • 外部模式仿真

  • 用于应用程序和系统消息的日志查看器

Linux 运行时管理器应用程序在开发计算机上运行,使您能够管理多台目标计算机上的应用程序。您可以从 Linux 运行时管理器中应用大多数支持包功能。

要开始使用,请安装支持包并设置目标计算机。有关详细信息,请参阅安装 Embedded Coder Support Package for Service-Oriented Applications on Linux。

由于支持包通过 SSH 和网络端口与远程目标计算机通信,请遵循以下最佳做法以降低安全风险:

  • 只允许可信 IP 地址访问主机和目标计算机。

  • 在主机和目标计算机之间使用由专用路由器构建的私有网络。

  • 只允许必要的用户访问部署位置。

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

对象

linux.Targets用于管理目标计算机的接口 (自 R2022b 起)
linuxTargetInterface for managing target computer (自 R2024a 起)

App

Linux 运行时管理器部署和原型化面向服务的架构 (SOA) 应用程序组件 (自 R2022b 起)

函数

全部展开

addTarget将目标计算机添加到目标计算机对象 (自 R2022b 起)
connect将 Simulink 连接到所选目标计算机 (自 R2022b 起)
disconnect从所选目标计算机断开与 Simulink 的连接 (自 R2022b 起)
getIPAddress获取目标计算机的 IP 地址 (自 R2022b 起)
getSSHPort获取连接到目标计算机的端口号 (自 R2023b 起)
getTarget获取目标计算机的句柄 (自 R2022b 起)
getTargetName获取目标计算机名称 (自 R2022b 起)
getUserName获取目标计算机的用户名 (自 R2022b 起)
isConnected获取表示目标计算机连接状态的布尔值 (自 R2022b 起)
removeApplicationPackage从选定目标计算机删除应用程序包 (自 R2022b 起)
removeTarget删除目标计算机 (自 R2022b 起)
renameTarget重命名目标计算机 (自 R2022b 起)
restartContainer重启或重新创建 Docker 容器 (自 R2024a 起)
setIPAddress设置目标计算机的 IP 地址 (自 R2022b 起)
setPassword为目标计算机设置密码 (自 R2022b 起)
setSSHPort设置 SSH 端口号 (自 R2023b 起)
setTargetConnectionStatusCallback设置回调函数,使其在到目标计算机的连接状态发生变化时触发。 (自 R2022b 起)
setUserName设置目标计算机的用户名 (自 R2022b 起)
uninstallTarget删除目标计算机上的 Docker 镜像 (自 R2022b 起)
updateTarget如果存在版本不匹配,则更新目标计算机上的 Docker 镜像 (自 R2022b 起)
deployApplicationPackageDeploy application package to selected target computer (自 R2022b 起)
getAllTargets获取可用目标计算机的列表 (自 R2022b 起)
getApplicationsGet applications deployed to target computer and application states (自 R2022b 起)
getApplicationStateState of deployed application on Linux target computer (自 R2022b 起)
getDeploymentLocation获取选定目标计算机的部署位置 (自 R2022b 起)
linux.createApplicationPackageCreate application package for model (自 R2022b 起)
linux.getPILConfigurationGet PIL connection configuration for model (自 R2026b 起)
linux.getXCPServiceConfigurationRetrieve XCP service configuration status for model (自 R2026b 起)
linux.setPILConfigurationSet PIL connection configuration for model (自 R2026b 起)
linux.setXCPServiceConfigurationSet XCP service configuration for model (自 R2026b 起)
linux.utils.getApplicationPackageDescriptionGet application package description (自 R2024a 起)
pauseApplication暂停在目标计算机上运行的应用程序 (自 R2022b 起)
resumeApplication在目标计算机上继续运行应用程序 (自 R2022b 起)
setApplicationStateCallbackTrigger a function when state of application changes (自 R2022b 起)
setDeploymentLocationSet location for deployed application on target computer (自 R2022b 起)
startApplication启动应用程序 (自 R2022b 起)
stopApplication终止在目标计算机上运行的应用程序 (自 R2022b 起)
getMeasurements获取可测量信号的列表 (自 R2022b 起)
getParameters获取可调参数列表 (自 R2022b 起)
getSignalsUnderInstrumentView signals selected to measure (自 R2022b 起)
linux.LogMessages创建包含目标日志消息的对象 (自 R2022b 起)
linux.LogMessages.getFilter and get log messages (自 R2022b 起)
readParameter获取参数值 (自 R2022b 起)
readParameters获取可调参数的值 (自 R2022b 起)
removeSignalsFromInstrument删除不需要可视化的信号 (自 R2022b 起)
restartStreaming重启信号的流式传输 (自 R2022b 起)
selectSignalsToInstrument添加感兴趣的信号以可视化应用程序行为 (自 R2022b 起)
startMonitorAndTune启动参数调节和信号监控 (自 R2022b 起)
startStreaming启动信号的流式传输并可视化结果 (自 R2022b 起)
stopMonitorAndTune停止应用程序的参数调节 (自 R2022b 起)
stopStreaming停止流式传输信号数据 (自 R2022b 起)
writeParameter写入或调节应用程序参数 (自 R2022b 起)

主题

精选示例