I'm getting the following error when trying to run the examples:
/Applications/MATLAB_R2011a_Student.app/bin/mex: line 305: gcc-4.2: command not found /Applications/MATLAB_R2011a_Student.app/bin/mex: line 1041: gfortran: command not found
I'm thinking I need to use this path to find the right library: /usr/local/gfortran/lib/gcc/x86_64-apple-darwin11/4.6.2 But inside 4.6.2, I can't decide which is the correct library. i386 is an option