image thumbnail

Write 2D and 3D Arrays into VTK

version (2.43 KB) by Manuel A. Diaz
A function to export either 2D/3D Matlab arrays as a binary *.vtk file for Paraview.


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 (, 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!