为什么matlab 7.0的M文件保存时总是出现异常?

matlab版本:7.0.0.19920(R14)操作系统:win7异常提示:java.lang.ArrayIndexOutOfBoundsException:3184a... matlab版本:7.0.0.19920(R14)

操作系统:win7

异常提示:
java.lang.ArrayIndexOutOfBoundsException: 3184
at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
at sun.awt.shell.ShellFolder.get(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyFileChooserIcon.createValue(Unknown Source)
at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
at javax.swing.UIDefaults.get(Unknown Source)
at javax.swing.MultiUIDefaults.get(Unknown Source)
at javax.swing.UIDefaults.getIcon(Unknown Source)
at javax.swing.UIManager.getIcon(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installIcons(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(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.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at com.mathworks.mwswing.MJFileChooser.<init>(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)
at com.mathworks.mde.editor.GenericAction$RegisteredObservable.notifyRegisteredObservers(GenericAction.java:327)
at com.mathworks.mde.editor.GenericAction.actionPerformed(GenericAction.java:318)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
………………
展开
 我来答
9192631770
2011-07-21 · TA获得超过7306个赞
知道大有可为答主
回答量:3138
采纳率:50%
帮助的人:2927万
展开全部
应该是跟java虚拟机有关的错误,估计是因为matlab7.0不支持win7,建议升级matlab到最新版
cyevans
2011-07-21 · 超过31用户采纳过TA的回答
知道答主
回答量:133
采纳率:0%
帮助的人:86.8万
展开全部
软件偶尔抽风,我的也是这样但是没有任何影响
追问
就是无法保存脚本文件比较烦。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
benqiang66
2011-07-21
知道答主
回答量:11
采纳率:0%
帮助的人:5.2万
展开全部
7.0老了,得换个新的,7.1就可以,我的win7用7.1挺好的
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
cxl525
2011-07-21 · TA获得超过574个赞
知道答主
回答量:540
采纳率:0%
帮助的人:244万
展开全部
格式吧
你的数组越界了吧!
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式