Updated Mac operating system to El Capitan, the results found that MATLAB can not open, each time a Java error pop-up window. The reality is as follows:
Java.lang.NullPointerException at Com.mathworks.widgets.windowswidgetfactory$searchandclearbutton.anytext ( windowswidgetfactory.java:187) at Com.mathworks.widgets.windowswidgetfactory$searchandclearbutton.geticon ( windowswidgetfactory.java:195) at Com.apple.laf.AquaButtonUI.setThemeBorder (aquabuttonui.java:113) at Com.apple.laf.AquaButtonUI.installDefaults (aquabuttonui.java:80) at Javax.swing.plaf.basic.BasicButtonUI.installUI (basicbuttonui.java:88) at Javax.swing.JComponent.setUI ( jcomponent.java:664) at Javax.swing.AbstractButton.setUI (abstractbutton.java:1807) at Javax.swing.JButton.updateUI (jbutton.java:146) at javax.swing.AbstractButton.init (abstractbutton.java:2172) At javax.swing.jbutton.<init> (jbutton.java:136) ...
Think it is Java version problem, so I want to do all kinds of ways to download and install JAVA6, 7, but not work~~~~~
Finally found an official patch that can be downloaded here
http://www.mathworks.com/support/bugreports/1098655
As long as the download, open, follow the instructions to operate, very simple!
MATLAB is now back to use!
Ref
https://www.mathworks.com/matlabcentral/newsreader/view_thread/336387
Matlab 2013b cannot be used in El Capitan problem solving