[18684] in Athena Bugs
linux 8.4.0: matlab
daemon@ATHENA.MIT.EDU (Jonathan A Kane)
Wed Jan 24 16:43:52 2001
Message-Id: <200101242143.QAA01537@explorer.mit.edu>
To: bugs@MIT.EDU
Date: Wed, 24 Jan 2001 16:43:44 -0500
From: Jonathan A Kane <jakane@MIT.EDU>
System name: explorer.mit.edu
Type and version: i686 8.4.0
Display type: XFree86 3.3.6 SVGA
Shell: /bin/athena/tcsh
Window manager: mwm
What were you trying to do?
I just installed RedHat 6.2/Athena 8.4 on my Dell Optiplex GX300.
Everything seemed to install correctly. I attached the matlab locker
and ran matlab. It seemed to work just fine until I tried to run a
mex file. There are sample mex files in the directory
/afs/athena.mit.edu/software/matlab_v5.3.1/distrib/extern/examples/mex
I copied yprime.c to my home directory and ran the following command
in matlab:
mex yprime.c
This produced a file yprime.mexlx. According
to the matlab Application Program Interface Guide (page 2-5) I should
run the command yprime(1,1:4)
What's wrong:
When I ran the above command I got the following error:
>> yprime(1,1:4)
Segmentation violation occurred within signal handler.
Unable to complete stack trace (stack was probably corrupted)
Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send us this crash report.
2. Provide a brief description of what you were doing when this
problem occurred.
3. If possible, include M-files, MEX-files, or MDL-files that aid
in reproducing it.
4. E-mail or FAX this information to us at:
E-mail: support@mathworks.com
FAX: 508-647-7201
Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
What should have happened:
I should have gotten the following:
ans = 2.0000 8.9685 4.0000 -1.0947
Please describe any relevant documentation references:
Matlab Application Program Interface Guide, Version 5, Page 2-5