From: Saurabh Mahapatra on 2 Jul 2010 09:39 Hi Chen, One suggestion would be to export your CAD/3D model to VRML which is universally supported by most softwares. Onces you have that in VRML, you can use Simulink 3D Animation's MATLAB API to control the motion of the object inside your MATLAB GUI. I have an example that goes through the GUI building here. Note that the surface for this demo was created in Blender. I exported it to VRML and then combined it with my aircraft and sky objects to assemble the final scene(another advantage of using a universal format) The demo is here: http://www.mathworks.com/matlabcentral/fileexchange/28006-fly-a-747-with-matlab-multiple-views-in-a-gui-dynamic-lighting Thanks, Saurabh
|
Pages: 1 Prev: connect Virtual Reality to a GUI Next: How to integrate virtual reality window into a guide |