MATLAB命令窗口怎么换行?shift+enter不管用 20
我是新手啊,程序有很多条命令,可是每次输入完一条之后,想换行再输入,要是直接Enter的话就运行了,可是程序都没输完。。。后来听说Shift+Enter可以换行,可是又出...
我是新手啊,程序有很多条命令,可是每次输入完一条之后,想换行再输入,要是直接Enter的话就运行了,可是程序都没输完。。。后来听说Shift+Enter可以换行,可是又出来下面一片,完了还是不能换行。怎么回事呢??
java.lang.ClassCastException
at com.mathworks.mde.cmdwin.CmdWinEditorKit$DropLineAction.actionPerformed(CmdWinEditorKit.java:1808)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at com.mathworks.mde.cmdwin.XCmdWndView.processKeyEvent(XCmdWndView.java:2646)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at com.mathworks.mde.cmdwin.XCmdWndView.processEvent(XCmdWndView.java:452)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown
一楼的朋友,你这个答案呢,你是百度里面复制粘贴的吧。要是不知道呢,就不用浪费你宝贵的时间了。谢谢。
二楼的朋友呢,我要求的是一个完整的程序运行完之后的结果,而不是某一条命令运行完的结果。谢谢。 展开
java.lang.ClassCastException
at com.mathworks.mde.cmdwin.CmdWinEditorKit$DropLineAction.actionPerformed(CmdWinEditorKit.java:1808)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at com.mathworks.mde.cmdwin.XCmdWndView.processKeyEvent(XCmdWndView.java:2646)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at com.mathworks.mde.cmdwin.XCmdWndView.processEvent(XCmdWndView.java:452)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown
一楼的朋友,你这个答案呢,你是百度里面复制粘贴的吧。要是不知道呢,就不用浪费你宝贵的时间了。谢谢。
二楼的朋友呢,我要求的是一个完整的程序运行完之后的结果,而不是某一条命令运行完的结果。谢谢。 展开
3个回答
展开全部
我以前遇到过,后来重新安装了一遍。。。
不过为什么要在command windows里换行呢?
用m文件就行了啊
看了那个问题,肯定是安装问题了
再重新装一遍,除非安装文件有问题,不然不会出现这些问题的,安装一下也就半个小时,呵呵
m文件很简单的,脚本方式的话,你就把它当作多条命令在command windows里执行就好了啊。不会出错的啊。
来自:http://zhidao.baidu.com/question/44302121.html?fr=ala0
不过为什么要在command windows里换行呢?
用m文件就行了啊
看了那个问题,肯定是安装问题了
再重新装一遍,除非安装文件有问题,不然不会出现这些问题的,安装一下也就半个小时,呵呵
m文件很简单的,脚本方式的话,你就把它当作多条命令在command windows里执行就好了啊。不会出错的啊。
来自:http://zhidao.baidu.com/question/44302121.html?fr=ala0
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询