主要内容

Configure Deployment Properties of Software Components

R2026b

Each component of your software architecture represents a deployable application. These applications communicate with their run-time environment through middleware. You can configure deployment properties to define how each component binds to middleware implementations. The Software Component Designer app supports two middleware protocols for communication between components:

  • Data Distribution Service (DDS)

  • Scalable Service-Oriented Middleware over IP (SOME/IP)

To select a communication middleware, from the toolstrip, on the Software Component tab, in the Generate Code section, select DDS or SOME/IP.

By default, all deployment properties are set to 'auto' and resolve automatically when you update the diagram or build the model. In most cases, you do not need to modify default values. To configure or modify deployment properties, select a component on the canvas. From the Property Inspector, on the Architecture tab, in the Deployment section:

  • Application ID — Set to 'auto'. The software automatically assigns a value. You can modify this parameter value.

  • Log Mode — Set to Console for console logging. Alternatively, set to File or Network.

  • Log File Path — Set to 'auto'. The software automatically generates a file path. You can modify this parameter value.

To configure port-level deployment properties, select a port on a component in your software architecture. In the Property Inspector, on the Deployment tab, configure these properties based on your middleware selection:

PropertyDDSSOME/IP
Service Instance IDYesYes
Service Interface IDYesYes
DDS Domain IDYes—
SOME/IP Major Version—Yes
SOME/IP Minor Version—Yes
SOME/IP Eventgroup ID—Yes

In a software architecture model, deployment properties on a component instance inherit values from the referenced component model. If the component model has a user-configured value, the instance uses that value. If you configure a value at the instance level, it overrides the component-level value without modifying the referenced model.

Note

Each component instance in the architecture must have a unique Service Instance ID. If your architecture contains multiple instances of the same component, configure a unique Service Instance ID on each instance.

Based on your middleware selection, the software automatically assigns deployment property values for each port element.

  • DDS: Assigns a DDS Topic Name.

  • SOME/IP: Assigns a SOME/IP Event ID.

To check that deployment properties are configured correctly and that port connections are compatible, on the Software Component tab, click Validate Connections. This validation checks deployment configuration without requiring a full build.

Deployment properties do not affect simulation. Errors related to deployment configuration are reported only when you validate connections or build the model for code generation.

See Also

Topics