Difference between revisions of "View VTK file in Matlab"

From PHASTA Wiki
Jump to: navigation, search
(Created page with "1. Convert vtk file to matlab data VTKreader Convert the vtk file of an all-triangle surface mesh to the Matlab data. The connectivity is stored in tri, coordinates are x, y, an...")
(No difference)

Revision as of 14:10, 27 July 2012

1. Convert vtk file to matlab data

VTKreader Convert the vtk file of an all-triangle surface mesh to the Matlab data. The connectivity is stored in tri, coordinates are x, y, and z.

/users/ychen/NGC/surface.vtk

In Matlab command line type

cd /users/ychen/NGC

VTKreader('surface')