Command line beginners help

1 Ansicht (letzte 30 Tage)
1582251394
1582251394 am 5 Okt. 2016
Beantwortet: Walter Roberson am 5 Okt. 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 Kommentar
James Tursa
James Tursa am 5 Okt. 2016
What did you do to make the >> disappear? fprintf(etc) to the screen without a \n at the end? Or ...?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 5 Okt. 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

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by