Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

VR Text Output

Allows display of Simulink signal values as text in virtual reality scene

Library

Simulink® 3D Animation™

Description

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

Text rendering is a demanding task for virtual world 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.

Parameters

Associated VRML file — Virtual world 3D 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.

Introduced in R2006b

Was this topic helpful?