How to change the window title of Matlab?

29 views (last 30 days)
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.

Accepted Answer

Krishna
Krishna on 20 Feb 2023
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.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!