image thumbnail

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.

1.2K Downloads

Updated 23 Aug 2016

View License

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 (2021). Write 2D and 3D Arrays into VTK (https://www.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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!