how do I add MATLAB prompt to command window?

조회 수: 35 (최근 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 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