Write 2D and 3D Arrays into VTK
Version 1.0.0.0 (2.43 KB) by
Manuel A. Diaz
A function to export either 2D/3D Matlab arrays as a binary *.vtk file for Paraview.
This function takes 2D and 3D matrices arrays and writes a structured grid of point in VTK 2.0 format. The files can be produced in ASCII and BINARY formats. Binary floats are recommended for large matrices.
Cite As
Manuel A. Diaz (2026). Write 2D and 3D Arrays into VTK (https://uk.mathworks.com/matlabcentral/fileexchange/58819-write-2d-and-3d-arrays-into-vtk), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Startup and Shutdown in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: WriteToVTK
Inspired: vtkwrite : Exports various 2D/3D data to ParaView in VTK file format
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Description updated. |
