How do I load a .wrl file on to a GUI?

7 次查看(过去 30 天)
I have a .wrl file I'd like to show up in the 'axes' section of a GUI. Is this possible?

采纳的回答

Sean de Wolski
Sean de Wolski 2014-4-10
编辑:Sean de Wolski 2014-4-10
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..

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by