user input

2 views (last 30 days)
maha sandhya
maha sandhya on 22 Feb 2012
Answered: Abhinav on 17 Jan 2023
how to get input image from user in matlab?

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

Community Treasure Hunt

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

Start Hunting!