from
Changing Window Titles
by Malcolm Wood
Provides the ability to change the titles of all windows in the MATLAB process
|
| window_example.m |
% Copyright 2006-2010 The MathWorks, Inc.
%% Find all windows in the MATLAB process
[a,b] = findAllWindows
%% Find the MATLAB window and change its title
match = strcmp(b,'MATLAB');
if ~any(match)
error('No window called "MATLAB" found');
end
a = a(match);
%% Set the title of the first one to show the current MATLAB version
v = ver('matlab');
setWindowTitle(a, sprintf('MATLAB %s %s',v.Version,v.Release));
|
|
Contact us at files@mathworks.com