User`s guide
capture
10-25
lights_world = vrworld('vrlights.wrl');
open(lights_world);
Create a vr.canvas object for lights_world.
c = vr.canvas(lights_world,gcf,[30 30 300 200]);
Capture an image of the canvas.
image_capture = capture(c);
Display an RGB image of the canvas in a MATLAB figure window.
image(image_capture);
• “MATLAB Interaction”
• “Create vrworld Object for a Virtual World”
See Also
vrworld | image
Introduced before R2006a