Connecting Vector and Scalar Components - MapleSim Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim : Using MapleSim : Building a Model : tasks/building/connectingScalarVectorPorts

Connecting Vector and Scalar Components

Some components have vector ports (that is, a port with more than one quantity associated with it). Vector ports can only be connected to other vector ports of the same dimension. That is, a direct connection between a vector component (like the Real Multiplexer component) and a scalar component (like the Gain component) is not allowed.

If you need to make a connection between a vector component and a scalar component, you must use an intervening component that converts a vector input/output to a scalar output/input. For example, if you want to connect a Real Multiplexer component to a Gain component, you could use the Extractor component to convert the vector output of the Real Multiplexer to a scalar, as shown in the following figure.

Note: When connecting two vector ports, the dimensions of the ports have to be the same. For example, if the Real Multiplexer in the previous figure was configured with five inputs instead of the three shown, the Extractor component would have to be configured so that its number of inputs (nin) was also five.

See Also

Adding Components from a Palette to a Model

Connecting Components in the Model Workspace

Disconnecting Modeling Components

Rerouting Connection Lines

Specifying Component Properties

Specifying Parameters for Multiple Components

Selecting a Layout Type for Connection Lines






Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam