Converting a .fig file to a .obj file in MATLAB
I have a 3D plot in MATLAB, a .fig file, that I need to export as a .obj file so that I can manipulate it in a gra开发者_如何学Gophic design program. The program needs to have the file as x y z coordinates so a .dxf file would also work. Has anyone ever had to do something like this? I admit I'm not that experienced using MATLAB but would appreciate any suggestions.
There is a "saveobjmesh" function available that might do what you need:
http://www.nada.kth.se/~asa/Ray/matlabobj.html
The web page has got examples of how to use it.
精彩评论