customize user prompt in console window?

14 ビュー (過去 30 日間)
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 Center および File ExchangeGet Started with MATLAB についてさらに検索


Community Treasure Hunt

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

Start Hunting!

Translated by