How to get image from a source without giving its url in matlab. Like a browse button. Can anyone help me ?

댓글 수: 1

Thomas
Thomas 2012년 3월 15일
is your image on a website or on a path in the local machine?

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

 채택된 답변

Thomas
Thomas 2012년 3월 15일

1 개 추천

If you image is on a path in the local machine you can import it:
File> Import Data
Choose:
Enable:All Files(*.*)
Select your particular image, it will give you options to create Variables matching preview, Click finish and all the data from the image will be loaded in a variable of size (MxNxZ)

댓글 수: 2

aravind`
aravind` 2012년 3월 15일
Thank you for your response sir, i want it in coding. i have created a gui. in that there should be a button which will act like a browse button.(for getting image from local machine)
Thomas
Thomas 2012년 3월 15일
doc uigetfile

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2012년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by