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.
Win cash prizes and have your live script featured on our websiteLearn more
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.