Answers (1)

Abhinav
Abhinav on 17 Jan 2023
ext='*.jpg' ;
folder='C:\Users\Name\Desktop\image';
[filename, path] = uigetfile(fullfile(folder,ext));
imageData = imread(fullfile(path, filename));

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Asked:

on 22 Feb 2012

Answered:

on 17 Jan 2023

Community Treasure Hunt

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

Start Hunting!