how do I add MATLAB prompt to command window?

6 ビュー (過去 30 日間)
Ozan Mirzanli
Ozan Mirzanli 2020 年 7 月 18 日
回答済み: Walter Roberson 2021 年 6 月 23 日
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
Sai Sathvika Daravath 2021 年 6 月 23 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by