How to Change Window Title in Automation mode

1 view (last 30 days)
Brian
Brian on 22 Jun 2011
I need to run several matlab functions simultaneously, and I am currently doing that by starting a separate "matlab -automation" window for each from the command prompt (windows 7).
My problem is to keep track of all the nodes and make sure none exit unexpectedly. Ideally, I'd like to change the window title so I can keep track of them easily on screen and also in the windows task manager. I've seen ways to do this for regular matlab windows, but they don't seem to work when matlab is started with -automation -nodesktop or -noawt. I'm worried that the larger memory footprint will prohibit starting a regular matlab instance for each node.
Any ideas would be much appreciated. Thanks, Brian.

Answers (1)

Jason Ross
Jason Ross on 23 Jun 2011
Have you tried using something like
system("title <window title here>")
in your code? The "title" command is a DOS command to change the window title.
  1 Comment
Brian
Brian on 23 Jun 2011
Unfortunately this doesn't seem to work! Too bad, it's nice and simple.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!