User`s guide

capture
10-37
myworld = vrworld('vrmount.wrl');
open(myworld);
View the virtual world in the Simulink 3D Animation Viewer.
f = vrfigure(myworld);
Create an RGB image of the figure.
image_capture = capture(f);
Display the RGB figure image in a MATLAB figure window.
image(image_capture);
“MATLAB Interaction”
“Create vrworld Object for a Virtual World”
See Also
vrfigure class | vrworld | isvalid (vrfigure) | vrnode/isvalid | image
Introduced before R2006a