how do I add MATLAB prompt to command window?

39 次查看(过去 30 天)
The Matlab Prompt (>>) doesn't appear in my command window. How do I add it?
thx in advance
  3 个评论
Ozan Mirzanli
Ozan Mirzanli 2020-7-18
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 2020-7-22
Are we talking about the normal application in MATLAB or MATLAB Mobile or Online?

请先登录,再进行评论。

采纳的回答

Gouri Chennuru
Gouri Chennuru 2020-7-22
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 !

更多回答(2 个)

Sai Sathvika Daravath
license
  1 个评论
Walter Roberson
Walter Roberson 2021-6-23
No, if there were a problem with license, then the user would have had completely different symptoms.

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2021-6-23
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by