How to create a GUI

22 views (last 30 days)
Muthuraj V
Muthuraj V on 26 Mar 2012
HI all,,
i want to create a GUI such that an image file should get copied to matlab workspace on clicking a button titled "selct image"
then on clickin a button titled "Run" an m file(which i have written) should be run and display the output...
can anyone help me in this regard..?
Thanks, Raj

Answers (2)

Jakob Sørensen
Jakob Sørensen on 26 Mar 2012
You should use the Guide tool in Matlab (write "guide" in the command prompt, no quotation marks of course). This allows you to drag and drop various elements on to a blank GUI. After that you assign functions to these elements. Google "Matlab GUI Tutorial", and look through to get a general idea of how this works (it would be a bit long and messy to explain here), and then I will be happy to help if you have some more specific questions after this.

Wasim Akhlaq
Wasim Akhlaq on 18 Apr 2012
Use Guide tool in Matlab...

Categories

Find more on Migrate GUIDE Apps 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!