set(gcf,'Units','pixels');
vrObjects.world = vrworld('spring.wrl');
open(vrObjects.world);
vrObjects.canvas = vr.canvas(vrObjects.world, gcf, [50 80 425 225]);
vrObjects.spring = vrnode(vrObjects.world,'spring');
Small example..
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!