[vtkusers] Re: Importing data from matlab to vtk

Matt McCormick matthew.m.mccormick at gmail.com
Mon Jan 14 01:24:18 EST 2008



<polys_poly <at> hotmail.com> writes:
> 
> 
> Hello VTK,
>  
> I need to import some data from matlab to 
> VTK. To be more specific i want to run an algorithm in matlab code and 
> import the results (which will be some images) in VTK.
> Is there any way to execute matlab code 
> through C++ and then pass the output to VTK. Any help (an online tutorial 
maybe) would be really 
> appreciated.
>  
> Thanks in advance,
> Polys
>  
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/
VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 



check out this page on the wiki.  You can't call matlab from vtk, but you can 
call vtk from matlab.

http://www.vtk.org/Wiki/VTK/VTKMatlab

If you just want to look at images, matlab has built in functions such as 
image(), imagesc(), mesh(), surf(), etc...




More information about the vtkusers mailing list