我是靠谱客的博主 忧郁小甜瓜,这篇文章主要介绍MATLAB如何写死循环,【求助】matlab 死循环 - 仿真模拟 - 小木虫 - 学术 科研 互动社区...,现在分享给大家,希望可以做个参考。

我在使用matlab的时候不知道为什么有时候会出现这种情况,不知输入了什么键,matlab自己就不停的运行,显示如下

at javax.swing.JViewport.paintView(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JComponent.paintChildren(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paint(Unknown Source)

at javax.swing.JComponent.paintChildren(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JComponent._paintImmediately(Unknown Source)

at javax.swing.JComponent.paintImmediately(Unknown Source)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)

at javax.swing.JViewport.paintView(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)

at javax.swing.JViewport.paintView(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)

at javax.swing.JViewport.paintView(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)

at javax.swing.JViewport.paintView(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JComponent.paintChildren(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JViewport.paint(Unknown Source)

at javax.swing.JComponent.paintChildren(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JComponent._paintImmediately(Unknown Source)

at javax.swing.JComponent.paintImmediately(Unknown Source)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.JViewport.windowBlitPaint(Unknown Source)

at javax.swing.JViewport.setViewPosition(Unknown Source)

at javax.swing.JViewport.scrollRectToVisible(Unknown Source)

at javax.swing.JComponent.scrollRectToVisible(Unknown Source)

at javax.swing.text.DefaultCaret.adjustVisibility(Unknown Source)

at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)

at javax.swing.text.DefaultCaret$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.IllegalArgumentException: Invalid substring range

at java.text.AttributedString$AttributedStringIterator.(Unknown Source)

at java.text.AttributedString.getIterator(Unknown Source)

at javax.swing.text.Utilities.drawComposedText(Unknown Source)

at javax.swing.text.PlainView.drawElement(Unknown Source)

at javax.swing.text.PlainView.drawLine(Unknown Source)

at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)

at javax.swing.text.PlainView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)

at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

而这只是部分,这是我ctrl +c停下来之后的一小部分,有没有人知道为什么啊

最后

以上就是忧郁小甜瓜最近收集整理的关于MATLAB如何写死循环,【求助】matlab 死循环 - 仿真模拟 - 小木虫 - 学术 科研 互动社区...的全部内容,更多相关MATLAB如何写死循环,【求助】matlab内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(69)

评论列表共有 0 条评论

立即
投稿
返回
顶部