[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading of Matlab 5 Files

From: Andy Adler
Subject: Re: Loading of Matlab 5 Files
Date: Fri, 17 Oct 1997 19:19:44 -0600 (MDT)

On Fri, 17 Oct 1997, Andy Adler wrote:
> >Are the specs for the Matlab 5 binary file format publicly available?
> >If so, would anyone be interested in writing the code for Octave?
> It doesn't appear to be that way...
> I just looked at

To follow up my own post, I found a description of
how to do this at

Basically, it's a library with appropriate functions to
manipulate .mat files. You get the *.h and *.so files
for your architecture at

and then you compile it with the switches given in

There is an example at

In Linux, you compile with
gcc -ansi -I<include dir> -o <result> <source> -L<libdir> -lmat -lmx

after you get the following libraries and include files,,,, mat.h, matrix.h

Mathworks justification for this is:
> Updating the Libraries
> The API libraries are subject to change. However, it is not necessary
> for you to recompile your MAT-file applications each time the libraries
> change. If you update the shared libraries on your system by copying down
> the latest versions from The MathWorks FTP site and replacing the old ones
> with the new ones, your MAT-file applications will use the new version.

I don't know if this is a tolerable solution for octave though.

Can mathworks libraries be included along with GPL source?

Or can the source contain the hooks and have a message for the
user to ftp the libraries him/herself?

Any other ideas?
Andy Adler,    | Pulmonary Physiology Unit         | Lab 303-398-1626
address@hidden | National Jewish Center,Denver,USA | Fax 303-398-1607

   For the Snark _was_ a Boojum, you see.    -Lewis Carroll

reply via email to

[Prev in Thread] Current Thread [Next in Thread]