How to Allow User Image Upload on App Designer.

조회 수: 5 (최근 30일)
abdulla alyammahi
abdulla alyammahi 2020년 3월 30일
댓글: abdulla alyammahi 2020년 4월 1일
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
Mohammad Sami
Mohammad Sami 2020년 3월 31일
you can use function uigetfile to open a file selection dialog box.
abdulla alyammahi
abdulla alyammahi 2020년 4월 1일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by