customize user prompt in console window?

6 vues (au cours des 30 derniers jours)
Ian
Ian le 16 Juil 2019
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.

Réponse acceptée

Wesley Ratnakumar
Wesley Ratnakumar le 15 Jan 2020

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by