Products & Services Solutions Academia Support User Community Company

Learn more about Simulink 3D Animation   

Function Reference


MATLAB InterfaceInterface with virtual worlds and miscellaneous features
vr.canvas Object MethodsInteract with virtual reality canvas
vr.figure Object MethodsInteract with virtual reality figure
vrworld Object MethodsInteract with virtual scene
vrnode Object MethodsGet and set VRML node properties
vrfigure Object MethodsGet and set Simulink 3D Animation viewer properties
Input Device ObjectsCreate input device objects

MATLAB Interface

stl2vrmlConvert STL files to VRML format
vrcadcleanupClean up VRML file exported from CAD tools
vrclearRemove all closed virtual worlds from memory
vrcloseClose virtual reality figure windows
vrdir2oriConvert viewpoint direction to orientation
vrdrawnowUpdate virtual world
vrgcbfCurrent callback vrfigure object
vrgcfHandle for active virtual reality figure
vrgetprefValues of Simulink 3D Animation preferences
vrinstallInstall and check Simulink 3D Animation components
vrlibOpen Simulink block library for Simulink 3D Animation
vrori2dirConvert viewpoint orientation to direction
vrphysmodAdd virtual reality visualization framework to block diagrams
vrplayPlay VRML animation file
vrrotmat2vecConvert rotation from matrix to axis-angle representation
vrrotvecCalculate rotation between two vectors
vrrotvec2matConvert rotation from axis-angle to matrix representation
vrsetprefChange Simulink 3D Animation preferences
vrviewView virtual world using Simulink 3D Animation viewer or Web browser
vrwhoList virtual worlds in memory
vrwhosList details about virtual worlds in memory

vr.canvas Object Methods

canvas (vr.canvas)Create virtual reality canvas object
capture (vr.canvas)Capture virtual reality canvas to RGB image
vr.canvasCreate virtual reality canvas object

vr.figure Object Methods

figure (vr.figure)Create new virtual reality figure
vr.figureCreate virtual reality figure object
vrfigureCreate new virtual reality figure
vrfigure/captureCreate RGB image from virtual reality figure
vrfigure/closeClose virtual reality figure
vrfigure/getProperty value of vrfigure object
vrfigure/isvalid1 if vrfigure object is valid, 0 if not
vrfigure/setChange property value of vrfigure object

vrworld Object Methods

vrworldCreate new vrworld object associated with virtual world
vrworld/addexternprotoAdd externproto declaration to virtual world
vrworld/closeClose virtual world
vrworld/deleteRemove virtual world from memory
vrworld/editOpen virtual world file in external VRML editor
vrworld/getProperty value of vrworld object
vrworld/isvalid1 if vrworld object is valid, 0 if not
vrworld/nodesList nodes available in virtual world
vrworld/openOpen virtual world
vrworld/reloadReload virtual world from VRML file
vrworld/saveWrite virtual world to VRML file
vrworld/setChange property values of vrworld object
vrworld/viewView virtual world

vrnode Object Methods

vrnodeCreate node or handle to existing node
vrnode/deleteRemove vrnode object
vrnode/fieldsVRML field summary of node object
vrnode/getProperty value of vrnode object
vrnode/getfieldField value of vrnode object
vrnode/isvalid1 if vrnode object is valid, 0 if not
vrnode/setChange property of virtual world node
vrnode/setfieldChange field value of vrnode object
vrnode/syncEnable or disable synchronization of VRML fields with client

vrfigure Object Methods

figure (vr.figure)Create new virtual reality figure
vr.figureCreate virtual reality figure object
vrfigureCreate new virtual reality figure
vrfigure/captureCreate RGB image from virtual reality figure
vrfigure/closeClose virtual reality figure
vrfigure/getProperty value of vrfigure object
vrfigure/isvalid1 if vrfigure object is valid, 0 if not
vrfigure/setChange property value of vrfigure object

Input Device Objects

vrjoystickCreate joystick object
vrspacemouseCreate space mouse object
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS