how do I add MATLAB prompt to command window?

40 views (last 30 days)
The Matlab Prompt (>>) doesn't appear in my command window. How do I add it?
thx in advance
  3 Comments
Ozan Mirzanli
Ozan Mirzanli on 18 Jul 2020
not sure if it is default but there is a fx, but it doesn't appear in the next lines when I type a next line after first.
madhan ravi
madhan ravi on 22 Jul 2020
Are we talking about the normal application in MATLAB or MATLAB Mobile or Online?

Sign in to comment.

Accepted Answer

Gouri Chennuru
Gouri Chennuru on 22 Jul 2020
Hi Ozan,
As a workaround, You can try undocking the command window and closing it seems to fix the issue or restarting the matlab also works.
There is also a case where use the "home" command to move the prompt to the top of the command window, and then execute the "clc" command directly afterward, the prompt disappears off-screen. As a workaround, you can mouse click within the command window to cause the command window to scroll up to the prompt.
Refer to this link for more info.
Hope this Helps !

More Answers (2)

Sai Sathvika Daravath
Sai Sathvika Daravath on 23 Jun 2021
license
  1 Comment
Walter Roberson
Walter Roberson on 23 Jun 2021
No, if there were a problem with license, then the user would have had completely different symptoms.

Sign in to comment.


Walter Roberson
Walter Roberson on 23 Jun 2021
You will not get the >> prompt if MATLAB is busy, or if MATLAB is waiting for you to finish a statement (such as if you are in the middle of a [ or { construction) . You will also not get the prompt if you are waiting at an input() statement.
You could try typing control-C at the command line to see if that gets you out of the mode you are in.
Another possibility is that MATLAB is busy trying to fetch something from disk, such as the list of files in the folders along the MATLAB path. There can be delays if there are disk problems or if you are using a network file system.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!