How to make the gui to appear in front of the matlab window?

Hi, This is my GUI, When I run it in the matlab, it will come in front of the matlab window. Then when i click on select image push button and pick an image from my directory, then the GUI is going back of the matlab window. How can I bring the GUI to appear in front of the matlab window automatically?
Thanks...

Answers (2)

That shouldn't happen and I don't think it does for me. You didn't have a breakpoint at any time did you? Because that would cause the development environment to come to the front, on top of your GUI. Maybe you can attach your m-file and fig-file.

2 Comments

Hi I here by attach my files, can you please check it
Thanks...
I don't know. It behaves the same way for me. I'd call the Mathworks and ask them. Send your files and license info to support@mathworks.com.

Sign in to comment.

Use the debugger to step through your code line by line to find out, which command causes the command window to move to the front. Is there a commandwindow command anywhere?

Categories

Asked:

on 5 May 2014

Commented:

on 10 May 2014

Community Treasure Hunt

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

Start Hunting!