How to read/write .mat files in VB.net...

  • Follow


Hello,

Like the subject says, I am trying to read and write .mat files from VB.net.  Currently I am interfacing w/ MatLab and sending it open commands for the file I want to open, and then resaving it as an hdf .h5 file and then I read that in my vb.net program.

What I am trying to accomplish is reading the .mat file directly, with out having to convert it in MatLab.  Ideally I would like this to work even with out MatLab installed.  I sey stuff for C/C++ to do this with libmat.dll but can't figure out how to get it to work in VB.net.

Any suggestions would be greatly appreciated.

thanks,

William
0
Reply William 11/3/2010 11:26:04 PM

William wrote:
....

> What I am trying to accomplish is reading the .mat file directly, with 
> out having to convert it in MatLab.  Ideally I would like this to work 
> even with out MatLab installed.  I sey stuff for C/C++ to do this with 
> libmat.dll but can't figure out how to get it to work in VB.net.
> 
> Any suggestions would be greatly appreciated.
....

Probably writing a wrapper routine to call the stuff from VB would be 
the most straightforward way.

I've never used the .net version of VB and haven't thought of trying to 
write a VB-callable mex function, but it's the way I'd approach it there 
if were going to do so...

--
0
Reply dpb 11/4/2010 2:51:09 PM


1 Replies
876 Views

(page loaded in 0.001 seconds)

Similiar Articles:













7/25/2012 11:54:51 PM


Reply: