customize user prompt in console window?

12 visualizaciones (últimos 30 días)
Ian
Ian el 16 de Jul. de 2019
Respondida: Wesley Ratnakumar el 15 de En. de 2020
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.

Respuesta aceptada

Wesley Ratnakumar
Wesley Ratnakumar el 15 de En. de 2020

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by