MATLAB: Mex compiler compatibility on Mac OS

MATLABmex compiler

I am trying to compile mex file using matlab2014b, java8 and Xcode7 by command
"mex CC='gcc' LD='gcc' -largeArrayDims -maci64 CFLAGS='$CFLAGS -m64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.4 -Wall' LDFLAGS='$LDFLAGS -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.4' -outdir "build/maci64/" -c "svm_struct_api.c"".
But I got the message "No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014b/maci64.html."
Could you please help me on this issue?
With best regards.
Related Question