MATLAB R2012b + CUTEr + Mountain Lion

1 view (last 30 days)
Daniel
Daniel on 26 Mar 2013
After a long hard battle, I finally got CUTEr to run and compile mex files on Mac Mountain Lion. However, I seem to be having a problem using the bang operator (!) from MATLAB.
Please note that I have set environment variables as follows in /etc/launchd.conf:
setenv CUTER /Users/research/cuter2
setenv SIFDEC /Users/research/sifdec2
setenv MYCUTER /Users/research/cuter2/CUTEr.large.mac.osx.gfo
setenv MANPATH /Users/research/cuter2/common/man
setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/Users/research/cuter2/CUTEr.large.mac.osx.gfo/bin:/Users/research/sifdec2/SifDe$
setenv MATLABPATH /Users/research/cuter2/CUTEr.large.mac.osx.gfo/double/bin
setenv LD_LIBRARY_PATH /Users/research/cuter2/CUTEr.large.mac.osx.gfo/double/lib:${LD_LIBRARY_PATH}
setenv LIBPATH /Users/research/cuter2/CUTEr.large.mac.osx.gfo/double/lib:${LIBPATH}
setenv MASTSIF /Users/research/sifdecprobs
setenv MYSIFDEC /Users/research/sifdec2/SifDec.large.mac.osx.gfo
Now, CUTEr interfaces and works fine when I run it from terminal (see screenshot http://www.sendspace.com/file/mn80bv) then access the problem from MATLAB but if I run the same command from MATLAB using the bang operator I get an error with respect to environment variables not being set (see screenshot: http://www.sendspace.com/file/khopqc).
This seems like more of a MATLAB R2012b -- Mountain Lion problem than something else.
Any help would be most graciously appreciated!
Thanks, Daniel
  1 Comment
Wouter
Wouter on 26 Mar 2013
did you verify your environment variables? You can do so in terminal using "env"
All you setenv-added information should be there.

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!