customize user prompt in console window?

조회 수: 14 (최근 30일)
Ian
Ian 2019년 7월 16일
답변: Wesley Ratnakumar 2020년 1월 15일
Is there a way to change the user prompt from ">>" in the Matlab console window?
In linux systems, this can be done for the bash console by setting the environment variable $PS1, and it is common to set the prompt to show the hostname and/or working directory. Is there anything equivalent for the matlab console?
This would be helpful for folks like me who run matlab via X-windows on multiple machines simultaneously, (development, linux box and university cluster), so when switching windows I know which system I'm on.

채택된 답변

Wesley Ratnakumar
Wesley Ratnakumar 2020년 1월 15일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by