user input

2 vues (au cours des 30 derniers jours)
maha sandhya
maha sandhya le 22 Fév 2012
how to get input image from user in matlab?

Réponses (1)

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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by