How to Allow User Image Upload on App Designer.

5 views (last 30 days)
Im trying to create an app using the app designer and i would like to give the user the option to upload an image, how can i do that and if possible what would the code for it be.
Please Advise,
Thank You,
  2 Comments
Mohammad Sami
Mohammad Sami on 31 Mar 2020
you can use function uigetfile to open a file selection dialog box.
abdulla alyammahi
abdulla alyammahi on 1 Apr 2020
It worked perfectly fine, however, in order to be able to read the image, i had to use this code S=imread(uigetfile)
Thank you very much for your feedback

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer 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!