主要内容

Clients Service Interface Properties

R2026b

Configure client service interface definitions

Since R2026b

Service Mappings editor open with the Clients tab selected.

Use the Clients tab of the Service Mappings editor to map port elements of In Bus Element blocks to client service interface definitions

A client service is used to invoke Simulink® functions on other components in the system. A function caller in the model can be mapped to a client port, modeled as an In Bus Element port element, and invoke it as it would invoke a Simulink function in the model. The client service communicates with the server service to invoke the Simulink function on the other component.

Properties

expand all

The table entries in the Clients tab are organized as parent entries and child entries. Each parent entry corresponds to a client (modeled as an In Bus Element block). Each child entry corresponds to a function prototype of the client (modeled as an In Bus Element block element).

This property is read-only.

Name of the model element that corresponds to the table entry.

Only applies to child entries. Determines whether the client blocks while waiting for results from the server, or continues execution and polls for results at each execution step. In either case, the client stops waiting for results or stops polling for results once the timeout is exceeded.

Only applies to child entries. The maximum number of seconds the client attempts to retrieve server results after function invocation. The value Inf indicates that the caller waits indefinitely. You can either manually enter Inf, or leave empty to have the software automatically treat the value as Inf. When Call behavior is set to Wait for server results:

  • The timeout must not be greater than the fixed-step size of the model.

  • If timeout is exceeded before getting results from the server, the client stops waiting for them.

When Call behavior is set to Allow delayed server results and timeout is exceeded before getting results from the server, the client stops polling for results.

More About

expand all

Version History

Introduced in R2026b