Export triangulated mesh into a pdf with a 3D object. The matlab mesh is converted to IDTF with matlab code. The IDTF file is converted to u3d with an external binary file. The u3d file can then be embedded into a pdf with pdflatex and the movie15 package. The user can then interact with the mesh (zoom, rotate etc.) from adobe reader. The package contains demo data and example of output.
The code of the IDTF to U3D converter can be obtained at : http://sourceforge.net/projects/u3d/
or in a nicely repackaged version from http://sourceforge.net/projects/mathgl/files/
thanks to Michail Vidiassov.
The toolbox has been tested on mac intel, linux and windows.
To test run the script : demo_mesh2pdf.m
Alexandre Gramfort (2021). Matlab mesh to PDF with 3D interactive object (https://www.mathworks.com/matlabcentral/fileexchange/25383-matlab-mesh-to-pdf-with-3d-interactive-object), MATLAB Central File Exchange. Retrieved .
Inspired by: verbatim: Get the text of a block comment.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!