Your mex command will usually live in a
/path_to_your_MATLAB_installation/bin
folder. For bash/sh like shells, you would add this to your PATH
environment variable using
export PATH=$PATH:/path_to_your_MATLAB_installation/bin
Volkmar
On Sat, 28 Apr 2007, leemon wrote:
> Hi,all
> I need some help getting a 64-bit Linux (Ubuntu) SPM5 (latest
> patches) installation to behave.When using the "make && make install"
> command, Feedback from 'make':
>
> Linux compilation (x86-64) - using gcc
> _____________________________________________________________
>
> mex COPTIMFLAGS='-O3 -funroll-loops -fPIC -march=x86-64 -mfpmath=sse' -c
> spm_mapping.c
> make: mex: Command not found
> make: *** [spm_mapping.mexa64.o] Error 127
>
> so I'm confused how to set the search path that includes the directory
> containing the mex command or edit the Makefile.
>
> Some technical details are given below.
> Any help would be much appreciated!
>
> Sincerely
>
> 28/4
> Technical stuff:
> MATLAB Version 7.3.0.298 (R2006b)
> Operating System: Linux 2.6.15-28-amd64-generic #1 SMP PREEMPT Tue Mar 13
> 20:51:52 UTC 2007 x86_64
> Java VM Version: Java 1.5.0_04 with Sun Microsystems Inc. Java HotSpot(TM)
> 64-Bit Server VM mixed mode
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/
|