SOLVED.
You need to run Matlab as root.
This is done in OS X by cd'ing to the bin directory inside the Matlab app and running the matlab executable in there with sudo.
You can write your own script to automate this.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!