How to add MCR to environment variable on Mac OSX El Capitan

1 view (last 30 days)
In Yosemite, it was possible to add the environment variable using the launchctl setenv command as below:
"launchctl setenv DYLD_LIBRARY_PATH $DYLD_LIBRARY_PATH:/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/runtime/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/sys/os/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/maci64"
The same does not work on El Capitan. Let me know the way to set the variable in such a way that the GUI applications will recognize the variable.
  1 Comment
Erdem Uguz
Erdem Uguz on 16 Jan 2016
Are you able to solve your problem? I am facing a similar program. Your possible solution might work for me too.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!