how do I add MATLAB prompt to command window?

The Matlab Prompt (>>) doesn't appear in my command window. How do I add it?
thx in advance

3 Comments

What (if anything) appears instead?
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.
Are we talking about the normal application in MATLAB or MATLAB Mobile or Online?

Sign in to comment.

 Accepted Answer

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)

license

1 Comment

No, if there were a problem with license, then the user would have had completely different symptoms.

Sign in to comment.

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

Community Treasure Hunt

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

Start Hunting!