Skip to content

Instantly share code, notes, and snippets.

@jrk
Created February 9, 2011 22:05
Show Gist options
  • Save jrk/819409 to your computer and use it in GitHub Desktop.
Save jrk/819409 to your computer and use it in GitHub Desktop.
Install matlab-ruby against Mac MATLAB.app install
# http://www.macresearch.org/matlab-ruby-snow-leopard
# Build/install
sudo env ARCHFLAGS="-arch x86_64" gem install matlab-ruby -- --with-matlab-include=/Applications/MATLAB_R2010b.app/extern/include --with-matlab-lib=/Applications/MATLAB_R2010b.app/bin/maci64 --with-swig
# Run irb
PATH=/Applications/MATLAB_R2010b.app/bin:$PATH DYLD_LIBRARY_PATH=/Applications/MATLAB_R2010.app/sys/os/maci64:/Applications/MATLAB_R2010b.app/bin/maci64/MATLAB.app/Contents/MacOS:/Applications/MATLAB_R2010b.app/bin/maci64:/Applications/MATLAB_R2010b.app/extern/lib/maci64:/Applications/MATLAB_R2010b.app/runtime/maci64 irb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment