[18968] in Athena Bugs
Re: linux 8.4.25: matlab - Problem with Mex files
daemon@ATHENA.MIT.EDU (Abby Fox)
Fri May 18 14:20:09 2001
Message-Id: <200105181820.OAA16523@whirlwind.mit.edu>
To: szummer@MIT.EDU
cc: szummer@media.mit.edu, help@bcs.MIT.EDU, max@ai.MIT.EDU, bugs@MIT.EDU,
alexp@MIT.EDU
Date: Fri, 18 May 2001 14:20:06 -0400
From: Abby Fox <ajfox@MIT.EDU>
This is documented on MathWorks' web site (I thought we had a note on it
in our own READMEs and web pages, but will check on that). From
<http://www.mathworks.com/support/solutions/data/11129.shtml>:
The segmentation violation messages are appearing because MATLAB 5.x
was built in the Red Hat 4 development environment. This environment
used version 5 of the C and Math libraries. Version 5 and 6 of Red Hat
use version 6 of the C and Math libraries. MATLAB 6.0, however, was
designed and tested in with version 6 of the C and Math libraries.
I tried the yprime example in matlab 6 (not yet the Athena default but
you can run it with "add matlab; matlab -ver 6.0.0") and it seems to
work fine. Note that their sample code changed slightly, so you should
check that you're testing with the newer file:
/mit/matlab_v6.0.0/distrib/extern/examples/mex/yprime.c
Abby Fox
Academic Computing