Write 2D and 3D Arrays into VTK

A function to export either 2D/3D Matlab arrays as a binary *.vtk file for Paraview.
1.4K 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 (2024). 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
Categories
Find more on Startup and Shutdown in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Description updated.