[求助]matlab 中M文件保存时出错
新建一个M文件,当点击保存时,命令窗中出现
java.lang.NullPointerException
at javax.swing.ImageIcon.(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.(Unknown Source)
at javax.swing.JFileChooser.(Unknown Source)
at com.mathworks.mwswing.MJFileChooser.(MJFileChooser.java:121)
at com.mathworks.mde.editor.EditorDocument.saveFileAs(EditorDocument.java:528)
at com.mathworks.mde.editor.EditorDocument.saveFile(EditorDocument.java:490)
at com.mathworks.mde.editor.EditorDocument$4.update(EditorDocument.java:186)
at java.util.Observable.notifyObservers(Unknown Source)
导致文件不能保存。请教高手,如何解诀!谢谢!