How to change the window title of Matlab?

Hi,
My OS is Ubuntu. When I open a script or function with Matlab, the name of the opened window is the path of my file., like /home/louis/Documents/my_very_very_way_too_long_name/my_script.m.
Is there any command to change the name of the window to just get the name of my file: my_script.m?
Thanks in advance.

 Respuesta aceptada

Krishna
Krishna el 20 de Feb. de 2023

0 votos

You can follow the link below to understand and implement it at your end.
This uses mex commands so make sure you have the necessary setup.

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 16 de Feb. de 2023

Comentada:

el 20 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by