Command line beginners help

1 次查看(过去 30 天)
1582251394
1582251394 2016-10-5
I'm really new to MATLAB and I keep running into the same problem. In the command line I'll be doing operations and ill lose the ">>" causing me to just type and not actually perform anything. How do I get back to the actual operation part of the command line, meaning how to I get ">>" to show up again?
  1 个评论
James Tursa
James Tursa 2016-10-5
What did you do to make the >> disappear? fprintf(etc) to the screen without a \n at the end? Or ...?

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2016-10-5
That can happen if you are accidentally still in the middle of a control structure such as if, or you are accidentally still in the middle of building an array using [ or { . In those cases, underneath the command entry area the status will change to "Continue entering statement"
If you are stuck entering a statement and you want to abandon it, press control-C

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by