Virtual Reality Toolbox    
VR Signal Expander

Expand input vectors into fully qualified VRML field vectors

Library

Virtual Reality Toolbox

Description

The VR Signal Expander block creates a vector of predefined length, using some values from the input ports and filling the rest with placeholder signal values.

Data Type Support

A VR Signal Expander block accepts and outputs signals of type double.

Block Parameters Dialog Box

Output width -- How long the output vector should be.

Output signal indices -- Vector indicating the position at which the input signals appear at the output. The remaining positions are filled with VR Placeholder signals.

For example, suppose you want an input vector with two signals, and you want an output vector with three signals, and you want the first input signal in position 3 and the second input signal in position 2. In the Output width box, enter [3] and in the Output signal indices box, enter [3,2]. The first output signal is unspecified.


  VR Placeholder VR Sink