Export 3D line to Paraview

Function to export a 3D line to a VTK format which can be open with Paraview.

You are now following this Submission

Here it goes a simple solution to export a 3D polyline from Matlab to Paraview (a powerful and free 3D viewer). The function takes a list of 3D coordinates and generates an ASCII VTK file with it.

Simple of use, the function has an example in the comments of the header.

Cite As

David Gingras (2026). Export 3D line to Paraview (https://www.mathworks.com/matlabcentral/fileexchange/22603-export-3d-line-to-paraview), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0