MATLAB Answers

Is it possible to control the appearance of the title bar and the title bar icon of figure windows in MATLAB?

138 views (last 30 days)
I would like to remove or change the MATLAB logo from the top of figure window menus.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 15 Nov 2017
Altering the appearance of the title bar and the title bar icon is not possible.
This matter is also described in the MathWorks Software License Agreement.
This is the same for the products produced by MATLAB Compiler.

  5 Comments

Show 2 older comments
Ronald DeSpain
Ronald DeSpain on 2 Oct 2018
Is there a way to disable the close box in the title bar? I'd like to control closing the macro with my own close button.
MosGeo
MosGeo on 22 Aug 2019
You can override the CloseRequest Callback to the function and remove "Delete(app)" from it. The button will still be there but it will not do anything.
Todd Lmower
Todd Lmower on 29 Jul 2020
Which specific clause in the license agreement prohibits changing the icon in a figure window?
(Clause number and quote of the relevant text please.)

Sign in to comment.

More Answers (1)

Cris LaPierre
Cris LaPierre on 29 Oct 2020
Edited: Cris LaPierre on 29 Nov 2020 at 15:07
Starting with R2020b, you can now specify custom icons for UI figure windows and toolbar push and toggle tools (in App Designer). See the release notes here.

  2 Comments

Jayesh Amrawat
Jayesh Amrawat on 29 Nov 2020 at 10:54
Sir, you mean to say that icon can be changed with R2020b. But what about title itself? I want to change the 'MATLAB App'. I have R2020a installed on my Laptop.
Cris LaPierre
Cris LaPierre on 29 Nov 2020 at 15:06
From within App Designer, select your canvas (app.UIFigure in my screenshot) in the Component Browser. Then scroll to the bottom of the corresponding properties in the Inspector and expand Identifiers. From their, change the name to whatever you prefer.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by