Thursday, June 22, 2017

[Matlab GUI] Change the logo on the figure created by GUIDE

The Matlab logo displayed as default can be changed by using Java.

Insert the code below in the OpendingFcn.
------------------------------------------------------------------------
javaFrame = get(hObject,'JavaFrame');
javaFrame.setFigureIcon(javax.swing.ImageIcon(' image file'));
------------------------------------------------------------------------

Then, can see the new logo changed as below.

No comments:

Post a Comment