Running SVReg and BDP on Yosemite (OS X 10.10)

The latest versions of OS X, Yosemite and El Capitan, may cause the SVReg and BDP programs, which are compiled MATLAB R2015b code, to stop working.

There is a simple 3-step fix for this:

1. Update XQuartz to 2.7.8
You can do this by either launching XQuartz (it will give you the opportunity to update) or go directly to http://xquartz.macosforge.org/landing/ to download the update.

2. link X11 from /opt to /usr
Note: This step may no longer be necessary.
The MATLAB Runtime Compiler library looks for X11 in a different location than OSX 10.10 (Yosemite) installs it. Open a terminal window (to do this, open Finder and type terminal) and run this command to link the X11 libraries to the location that MATLAB expects (you will need sudo privileges):

sudo ln -s /opt/X11/ /usr/X11

3. install the legacy version of Java 6
See http://support.apple.com/kb/DL1572 to download this update.

More details on OS X 10.10 and MATLAB can be found on these pages from Mathworks:
http://www.mathworks.com/matlabcentral/answers/158895-when-will-matlab-be-updated-for-os-x-yosemite
http://www.mathworks.com/matlabcentral/answers/159016-is-matlab-compatible-with-mac-os-x-10-10-yosemite