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

6 次查看(过去 30 天)
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...

回答(2 个)

Image Analyst
Image Analyst 2014-5-6
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.

Jan
Jan 2014-5-10
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?

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by