write BINARY VTK file for tetrahedral grid with scalar and vector data
I wrote this because the other VTK writing files on the file exchange either do not do binary format, or they could not do *both* the mesh and the point data in binary format. So I wrote this. You can easily modify it to write 2-D unstructured triangle meshes, for instance.
There is also a test script you can run. Note: you need another program to view the .vtk file, e.g. Paraview.
Cite As
Shawn Walker (2023). write BINARY VTK file for tetrahedral grid with scalar and vector data (https://www.mathworks.com/matlabcentral/fileexchange/58002-write-binary-vtk-file-for-tetrahedral-grid-with-scalar-and-vector-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
vtk_matlab/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |