| Virtual Reality Toolbox™ | ![]() |
Virtual Reality Toolbox™

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.
A VR Signal Expander block accepts and outputs signals of type double.

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 an output vector with four signals, with the first input signal in position 2 and the second input signal in position 4. In the Output width box, enter 4 and in the Output signal indices box, enter [2,4]. The first and third output signals are unspecified.
![]() | VR Placeholder | VR Sink | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |