VR Text Output
(To be removed) Allows display of Simulink signal values as text in virtual reality scene
VR Text Output will be removed in a future release. For more information, see Version History.
Simulink® 3D Animation™
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.
To open the Block Parameters dialog box, double-click the block.
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
%s conversion formats, as
signals in the Simulink product cannot have both characters and strings.
Sample time — Enter the sample time or
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.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Actual data type or capability support depends on block implementation.
Version HistoryIntroduced in R2006b
R2023b: To be removed
The VR Text Output block will be removed in a future release.
sim3d classes and Simulation 3D blocks in
Unreal Engine Scenario Applications to
interface MATLAB® and Simulink with the Unreal Engine® 3D simulation environment. To get started, see Get Started Creating Virtual World with Actors.