How to display an image on an axe in GUIDE

Hello,
I am making two GUIs work together and I encounter the following problem :
On my main GUI I have an axe on which I want to display an image that I choose on the second GUI.
I have passed the axe's handle to the second GUI.
There I have a "pushbutton" that should, when clicked on, display the image on the main GUI.
I can't manage to use the command "imagesc" with the axe's handle.
Any idea on how to do this?
Thank you very much!

 Accepted Answer

Why are you using two GUIs? Why not make it easy on yourself and just use one? If you want to do it the hard way, see the FAQ

4 Comments

Actually on the main page I just want to have buttons allowing the user to select a few different kind of images.
Since there are many parameters to enter for these images, I thought it would be better to jump to another GUI where he can select the parameters. Otherwise I would have too many buttons on the main page...
But it's true it's complicating things...
In my opinion, you're always better off having one main GUI rather than a bunch of disconnected separate GUIs floating around. You're going to have the same things, the same number of things, on the screen, right? It's just whether they are in one main GUI or scattered all over the place in multiple GUIs, some of which could possibly get covered up by other applications, not to mention how much more difficult it makes communication between them all.
Ok, i have followed your advice, it is indeed more simple to built it like this!
Thank you :)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!