How to create a GUI

4 次查看(过去 30 天)
Muthuraj V
Muthuraj V 2012-3-26
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
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
Use Guide tool in Matlab...

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by