The Interface Adapter is a visual tool for mapping interface elements between ports.
When two connected components with Simulink behaviors have the same signal quantity with different names, use an Adapter block and the Interface Adapter to define the port connections.
Add an Adapter block to your model.
Double-click the block to open the Interface Adapter dialog box.
In the Select input box, select an interface element. In the Select output box, select and interface element.
Click the Map button.
When connecting two components with port connections in both directions an algebraic loop can occur. Use an Adaptor block to insert a unit delay between the components and break the loop.
Add an Adapter block to your model.
Double-click the block to open the Interface Adapter dialog box.
From the Apply interface conversion list, select
UnitDelay
.
When connecting two Reference Components the Simulink models they reference can have different sample time rates. Use an Adaptor block to insert a rate transition between the components.
Add an Adapter block to your model.
Double-click the block to open the Interface Adapter dialog box.
From the Apply interface conversion list, select
RateTransition
.