Quantcast

Documentation Center

  • Trial Software
  • Product Updates

VR Text Output

Allows display of Simulink signal values as text in VRML scene

Library

Simulink® 3D Animation™

Description

The VR Text Output can display Simulink values of signal as text in a VRML scene.

Text rendering is a demanding task for VRML viewers, so there is generally be a decrease in rendering speed when outputting text. This effect increases with the complexity of the text output. You can improve the performance if you limit the output from the Simulink model to only the values of signals that change (e.g., modeling captions) or use more static-text nodes.

Block Parameters Dialog Box

Associated VRML file — VRML file specifying the virtual world to which text is output.

Associated Text node — Text node within the virtual world to which text is output.

Format string — Format used for output text. This block uses sprintf() to format the output strings. Like sprintf(), it works in a vectorized fashion, where the format string is recycled through the components of the input vector. This block does not support the %c and %s conversion formats, as signals in the Simulink product cannot have both characters and strings.

Sample time — Enter the sample time or -1 for inherited sample time.

Ensure that a viewer window is open during simulation — Select this check box to ensure that the Simulink 3D Animation Viewer is open during simulation.

Was this topic helpful?