[12401] in Athena Bugs
rsaix 7.7E: matlab cmex bug ...
daemon@ATHENA.MIT.EDU (Jake Wetzel)
Sat Aug 13 16:02:00 1994
To: bugs@MIT.EDU
Date: Sat, 13 Aug 1994 16:01:50 EDT
From: Jake Wetzel <jawetzel@MIT.EDU>
System name: m37-332-5
Type and version: POWER 7.7E
Display type: colorgda
Any bugs reported here seemed to be confined to the RS6000 version of Matlab.
Specifically the rsaixbin directory.
1. There is no cmex or fmex. There is cmex41 and fmex41 but I think there
should be a cmex and fmex file/symlink.
2. cmex41 does not run properly. cmex41 is a symlink
cmex41 -> ../Matlab4.1/bin/cmex
The problem is that the cmex script gets its current working directory
based upon where the actual file is located (i.e. Matlab4.1/bin). It
then sets the shell variable MATLAB to this directory. Matlab defines the
shell variable MATLAB as the "Matlab root directory". In reality, the
Matlab root directory is Matlab4.1. Because of this error, the following
other shell variables are incorrectly set:
SOURCED_DIR='$MATLAB/bin'
MEX_INCLUDE_DIR=$MATLAB/extern/include
MEX_LIB_DIR=$MATLAB/extern/lib/$Arch
The net result is that Matlab is unable to find the proper header files and
libraries.
Jake