[15444] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Matlab search path behavior

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Thu Aug 28 12:52:49 1997

To: wchuang@MIT.EDU
Cc: alexp@MIT.EDU, bugs@MIT.EDU
Date: Thu, 28 Aug 1997 12:52:47 EDT
From: Alex T Prengel <alexp@MIT.EDU>


>What's wrong:
>        Matlab v5.0 and v5.1 no longer check for ~/matlab and
>        don't add that directory to the MATLABPATH.
> 
>        Thus my startup.m file never gets run either.

Well, Matlab 5.0 has been obsoleted by 5.1 and is coming off-line; as to 5.1- 
it works fine for me... are you bypassing our Perl startup script
/mit/matlab_v5.1/arch/share/bin/wrapper? It contains the lines:

    if ( -d '$ENV{"HOME"}/matlab' ) {
        $matpath .= '$ENV{"HOME"}/matlab';
    }

in subroutine config_matlab_path, which set this...

                                         Alex Prengel
                                         MIT Academic Computing Support Team
                                         Software Acquisition Coordinator

home help back first fref pref prev next nref lref last post