How to create a GUI

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

回答 (2 件)

Jakob Sørensen
Jakob Sørensen 2012 年 3 月 26 日

1 投票

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 2012 年 4 月 18 日

0 投票

Use Guide tool in Matlab...

質問済み:

2012 年 3 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by