软件组件设计
R2026b为面向服务的架构应用设计、仿真和部署软件组件
Software Component Designer for Simulink® 支持包为面向服务的架构 (SOA) 应用提供端到端工作流。设计具有定义的服务接口和服务质量 (QoS) 属性的模块化软件组件,在模拟件运行时环境 (RTE) 中仿真通信和执行行为,并为嵌入式 Linux® 平台生成完全可部署的应用。
主要功能包括:
建模 - 使用软件组件设计器将 Simulink 模型配置为软件组件,并使用客户端-服务器端口和基于消息的通信定义服务提供商和使用程序。
配置 - 通过配置组件端口上的服务质量 (QoS) 属性来指定通信和执行行为。
验证 - 使用测试框架在模拟件运行时环境 (RTE) 中对软件组件进行仿真以在部署前验证行为。将组件集成到软件架构模型中以进行组合级测试(使用 System Composer™)。
部署 - 为嵌入式 Linux 生成完全可部署的应用,包括用于 DDS 和 SOME/IP 的中间件绑定(使用 Embedded Coder®)。
App
| 软件组件设计器 | Design, simulate, and deploy software components for service-oriented architecture (SOA) applications (自 R2026b 起) |
主题
面向 Simulink 的软件组件设计器
- Software Component Models in Simulink
Learn how software component models define modular software units, their interactions, and run-time behavior in Simulink. - Install Software Component Designer for Simulink Support Package
Install the Software Component Designer for Simulink Support Package, required for software component modeling in Simulink.
设计软件组件
- Create Software Component Models in Simulink
Configure a Simulink model as a software component with an explicit boundary, interfaces, and run-time behavior. - Define Data and Service Interfaces Between Components
Specify how software components interact by defining data and service interfaces on component ports. - Configure Communication and Execution Behavior of Software Components
Specify run-time communication and execution behavior for component ports using quality of service (QoS) properties. - Validate Component Behaviors Using Architecture Test Harnesses (System Composer)
Generate test harnesses to validate run-time communication and execution behavior of software components configured using quality of service (QoS) properties.
集成到组合中
- Integrate Software Components into Compositions Using Software Component Designer (System Composer)
Integrate software component models with quality of service (QoS) properties into software architecture models for composition-level simulation. - Simulate Software Architectures to Validate Run-time Behavior (System Composer)
Simulate software architecture models to validate run-time communication and execution behavior using a mock run-time environment (RTE). - Configure Deployment Properties of Software Components (System Composer)
Configure DDS or SOME/IP middleware properties on software architecture components for code generation and deployment to Linux platforms.
相关信息
- 设计软件架构 (System Composer)
- 软件架构建模 (AUTOSAR Blockset)
- 编译和部署包含生成的服务代码的应用程序 (Embedded Coder)
