You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). write BINARY VTK file for tetrahedral grid with scalar and vector data (https://se.mathworks.com/matlabcentral/fileexchange/58002-write-binary-vtk-file-for-tetrahedral-grid-with-scalar-and-vector-data), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (222 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
