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 ExchangeConvert Image Type についてさらに検索

質問済み:

2012 年 3 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by