Clear Filters
Clear Filters

Command line beginners help

6 views (last 30 days)
1582251394
1582251394 on 5 Oct 2016
Answered: Walter Roberson on 5 Oct 2016
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 Comment
James Tursa
James Tursa on 5 Oct 2016
What did you do to make the >> disappear? fprintf(etc) to the screen without a \n at the end? Or ...?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 5 Oct 2016
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

Community Treasure Hunt

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

Start Hunting!