from Set Title by Devang Negandhi
Set custom MATLAB window title

SetTitle.m
%
% Copyright 2013 The MathWorks, Inc.
%

myTitle = inputdlg('Set Title');
drawnow;

if(~isempty(myTitle))
    jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;
    jDesktop.getMainFrame.setTitle(char(myTitle));
    clear jDesktop myTitle;
end

Contact us