[vtkusers] Reading .mat Matlab(R) files

Osc@r olguna at cimat.mx
Fri Oct 3 12:42:20 EDT 2008


Hi All...!!!
Exists one way to process MATLAB(R) commands called by C/C++ code.
but it requires MATLAB(R) working in the back, So C/C++ just start MATLAB,
executes those commands, got pointers to data and close it.

Is this what you want? 
If yes, contact me and I could send you a piece of code for that issue


-----Mensaje original-----
De: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] En
nombre de Jean-Pierre Roux
Enviado el: Viernes, 03 de Octubre de 2008 11:16 a.m.
Para: Thiebaut Mochel
CC: insight-users at itk.org; vtkusers at vtk.org
Asunto: Re: [Insight-users] [vtkusers] Reading .mat Matlab(R) files

Thiebaut Mochel wrote:
> Could this be useful : http://matitk.cs.sfu.ca/ ?
I read about matitk before.
It's used to extend matlab with itk, right?
It must be great for matlab users ... but I'm not one of them : I never 
used matlab (and I don't plan to do), I was given matlab file, and I 
would like to process them with my C++ applications.
I was wonder if it it exist something like 'vtkMatlabRader' (or 
i'tkMaltab...'), or any C/C++ piece of code that fopens a .mat file, 
freads it, fseeks what it feels like, and bring into main memory the 
values the file contains.

Thx for your help, anyway.

Jean-Pierre

>
> Jean-Pierre Roux wrote:
>> Hi,
>>
>> I have tons on .mat Matlab(R) files and I would like to read them, 
>> with VTK, or ITK, or with a C++ program.
>> I wouldn't like too much to have to convert them into Dicom files 
>> (under Matlab), or to write a raw file, and add (under vi) a .mhd...
>>
>> Any suggestion?
>>
>> Thx a lot.
>>
>> Jean-Pierre Roux
>> _______________________________________________
>> 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
>>
>>
>
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users




More information about the vtkusers mailing list