Creating a simple GUI/Menu?

21 visualizzazioni (ultimi 30 giorni)
dada55
dada55 il 14 Apr 2016
Commentato: Image Analyst il 15 Apr 2016
Hi I am creating a program and want to create a menu/GUI. I have not done anything before so not sure how long/ feasible it is.
I have attached an image of the layout I want to have:
Basically I have an image which shows 7 different data points around the image. I want the user to click one one of these areas and for matlab to return a prespecified number. I.e. click around case 1 (whether through a button/pixel range) return number/string '1'. Click around case 2, return number/string '2' etc.
Then I want 3-4 input boxes where the user inputs certain values that can then be used in matlab.
I am totally new to creating any GUI and can't find any simple ways of doing this? Is there any easy way to do this, any guides or ways to achieve this? It doesn't need to be perfect, just to roughly function.
Thanks in advance for any tips

Risposta accettata

Image Analyst
Image Analyst il 14 Apr 2016

Più risposte (2)

Walter Roberson
Walter Roberson il 14 Apr 2016
At the command prompt, invoke
guide
and use it to create the GUI.

dada55
dada55 il 15 Apr 2016
Thanks for answers to both. I have looked at the guide but found it a bit complex and could not find any simple guides for it. I will be giving that pre-made code a try, thanks!

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by