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

6 views (last 30 days)
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)

Image Analyst
Image Analyst on 6 May 2014
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
Image Analyst
Image Analyst on 10 May 2014
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.


Jan
Jan on 10 May 2014
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

Find more on Environment and Settings 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!