User`s guide
4 MATLAB Interface
4-8
-----------------------------------------------------------
 addChildren eventIn MFNode off 
 removeChildren eventIn MFNode off 
 children exposedField MFNode off 
 center exposedField SFVec3f off 
 rotation exposedField SFRotation off 
 scale exposedField SFVec3f off 
 scaleOrientation exposedField SFRotation off 
 translation exposedField SFVec3f off 
 bboxCenter field SFVec3f off 
 bboxSize field SFVec3f off 
The Automobile node is of type Transform. This VRML node allows you to change
its position by changing its translation field values. From the list, you can see
that translation requires three values, representing the [x y z] coordinates of the
object.
5
Type
view(myworld)
Your default viewer opens and displays the virtual world vrmount.wrl.
6
Move the MATLAB window and the browser window side by side so you can view
both at the same time. In the MATLAB Command Window, type
myworld.Automobile.translation = [15 0.25 20];
The MATLAB sets a new position for the Automobile node, and you can observe
that the car is repositioned in the VRML browser window.
You can change the node fields listed by using the function vrnode/setfield.
Note The dot notation is the preferred method for accessing nodes.










