I want to create a GUI such that an image file should get copied to the matlab workspace on clicking a button titled "selct image". It should prompt me to select a particular image from a given folder, then on clicking 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?
Have a look at this:
http://www.mathworks.de/help/techdoc/ref/uigetfile.html
Creating GUIs in MATLAB is pretty straightforward. Type "guide" in the command line, graphically add your buttons, then fill the callback functions of those buttons with the code you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With