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...")
 
m (Jrwrigh moved page Visualization using Matlab to View VTK file in Matlab: Current name is misleading as to it's specific nature)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
VTKreader('surface')
 
VTKreader('surface')
 +
 +
[[Category:Post-processing]]

Latest revision as of 15:47, 24 August 2020

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')