This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Using Bus Signals and Structure Parameters in the FMU Import Block

This model shows how to use bus signals and structure parameters in an FMU Import block. The FMU supports execution in Model Exchange mode.

Bus Signals and Structure Parameters Model

This FMU file models a simple system that computes the weighted average of two input bus signals, , packed into an array of buses. Each of the input bus signals contains four bus elements, . Each bus element contains two scalar signals, and . The FMU accepts two structure parameters, and , and uses them to compute the weighted average of input signals:


The FMU file supports FMI 1.0 Model Exchange mode.

The FMU Import block supports non-virtual bus types. You must create a bus object whose structure matches the associated structure in the FMU file. When naming the bus object structures, use the variable names defined in the modelDescription.xml of the FMU file. For more information, see FMU documentation.

Was this topic helpful?