Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab main windows name
Date: Wed, 11 Nov 2009 09:14:04 +0000 (UTC)
Organization: Universit&#228;t Heidelberg
Lines: 11
Message-ID: <hddv8r$ln0$1@fred.mathworks.com>
References: <hd8qtf$gj$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257930844 22240 172.30.248.38 (11 Nov 2009 09:14:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 11 Nov 2009 09:14:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869888
Xref: news.mathworks.com comp.soft-sys.matlab:584113


Dear Norman!

> often I'm starting several Matlabs at once to work on different parts of a single problem. Every Matlab opens a set of figures to display current status and a GUI to control the program (e.g. 'pause' and 'stop' buttons). 
> But since I don't have a dozen monitors *g* I become confused which "Control GUI" controls which Matlab. So I thought that I could set the name of all the figures so that there's a unique references number for each Matlab. But the Matlab main window can't be changed that way (set(handle,'Name','someTexthere')) - or is there a way to do?

com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame.setTitle('Matlab 1');

See also:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/262011

Good luck, Jan