Documentation

Simulink 3D Animation Functions

Install Editor and Viewer

Install V-Realm Builder

vrinstall Install and check Simulink 3D Animation components

Install VRML Viewer

vrinstall Install and check Simulink 3D Animation components

Remove Components (Windows)

vrinstall Install and check Simulink 3D Animation components

Build Virtual Reality Worlds

Edit VRML

vredit Open 3D World Editor

Import CAD Models

stl2vrml Convert STL files to VRML format
vrcadcleanup Clean up VRML file exported from CAD tools
vrphysmod Add virtual reality visualization framework to block diagrams
vrlib Open Simulink block library for Simulink 3D Animation
vrjoystick Create joystick object
vrspacemouse Create space mouse object
vrphysmod Add virtual reality visualization framework to block diagrams

Interact with Virtual Reality Worlds

MATLAB Interaction

vrworld Create new vrworld object associated with virtual world
vrdrawnow Update virtual world
vrclear Remove all closed virtual worlds from memory
vrwho List virtual worlds in memory
vrwhos List details about virtual worlds in memory
vrnode Create node or handle to existing node
vr.canvas Create virtual reality canvas
vr.canvas.capture Capture virtual reality canvas image
vrfigure Create virtual reality figure
vrfigure.capture Capture virtual reality figure image
vrfigure.close Close virtual reality figure
vrfigure.get Return property value of vrfigure object
vrfigure.isvalid Check validity of vrfigure object handles
vrfigure.set Set property values of vrfigure object
vrgcf Handle for active virtual reality figure
vrgcbf Current callback vrfigure object
vrclose Close virtual reality figure windows
vr.utils.stereo3d Stereoscopic vision settings for vr.canvas and vr.figure objects
vrdir2ori Convert viewpoint direction to orientation
vrori2dir Convert viewpoint orientation to direction
vrrotvec Calculate rotation between two vectors
vrrotmat2vec Convert rotation from matrix to axis-angle representation
vrrotvec2mat Convert rotation from axis-angle to matrix representation
vrifs2patch Convert VRML IndexedFaceSet nodes to MATLAB patches
vrpatch2ifs Convert MATLAB patches to VRML IndexedFaceSet nodes

Share Visualizations

Record and Play Animations

vrplay Play VRML animation file
vrview View virtual world using Simulink 3D Animation viewer or Web browser
Was this topic helpful?