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.

 Akzeptierte Antwort

Krishna
Krishna am 20 Feb. 2023

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by