Matlab 2013b 在El Capitan 中无法使用问题解决

更新了mac的操作系统到El capitan, 结果发现Matlab打不开了,每次都弹出一个Java error的窗口。现实如下内容

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) 
. . .

 

以为是java的版本问题,于是想尽各种办法去下载安装Java6、7,却都不work~~~~~

 

终于发现有官方的补丁,可以在这里下载

http://www.mathworks.com/support/bugreports/1098655

只要下载,打开,按照指令操作就好,非常简便!

现在matlab重新能用了!

 

Ref

https://www.mathworks.com/matlabcentral/newsreader/view_thread/336387

posted on 2016-08-27 04:08  Forever_YCC  阅读(543)  评论(0编辑  收藏  举报

导航