customize user prompt in console window?

4 次查看(过去 30 天)
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 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by