Documentation

Simulink 3D Animation Functions

Alphabetical List By Category

Build Virtual Reality Worlds

vredit Open 3D World Editor
vrgetpref Values of Simulink 3D Animation preferences
vrsetpref Change Simulink 3D Animation preferences
vrinstall Install and check Simulink 3D Animation components

Import CAD and Robot Models

stl2vrml Convert STL file to virtual world file
vrcadcleanup Clean up virtual world 3D file exported from CAD tools
vrimport Import 3D file into virtual world or node
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

Interact with Virtual Reality Worlds

vrworld Create new vrworld object associated with virtual world
vrdrawnow Update virtual world
vrnode Create node or handle to existing node
vr.canvas Create virtual reality canvas
vrclear Remove all closed virtual worlds from memory
vrwho List virtual worlds in memory
vrwhos List details about virtual worlds in memory
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 virtual world IndexedFaceSet nodes to MATLAB patches
vrpatch2ifs Convert MATLAB patches to IndexedFaceSet nodes
vrjoystick Create joystick object
vrspacemouse Create space mouse object

View Dynamic System Simulations

Choose a Viewer

vrgetpref Values of Simulink 3D Animation preferences
vrsetpref Change Simulink 3D Animation preferences

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?