Workarounds for issues that may arise when running MATLAB in El Capitan are listed below:
1) Xcode 7 Support in MEX
Users will encounter an error when attempting to setup MEX with the compilers packaged in Xcode 7. Out of the box, MATLAB R2015b will not detect Xcode 7’s “clang” compiler. Users will receive the following error:
>> mex -setup
Error using mex
No supported compiler or SDK was found. For options, visit
3) Java 6 in Versions of MATLAB R2013a and Earlier
Versions of MATLAB which require Java 6 (R2013a and earlier), will not launch in El Capitan. El Capitan is not shipped with Java 6 . You can install Java 6 from the following link to enable the versions of MATLAB that use it:https://support.apple.com/kb/DL1572?locale=en_US
4) Full-screen Dialog Boxes
When MATLAB is expanded into Mac OS X's full-screen or split-screen mode, certain dialog boxes will display in full-screen mode. The dialog windows will be stretched beyond their expected dimensions. Unfortunately, there is no workaround for resolving this issue.
EI Capitan 10.11.4 is not for matlab 2015b. for longtime running matlab the plot function can just draw a empty figure without comtent. and any software with java swing will do the same thing just give a empty panel.