user input

2 visualizzazioni (ultimi 30 giorni)
maha sandhya
maha sandhya il 22 Feb 2012
Risposto: Abhinav il 17 Gen 2023
how to get input image from user in matlab?

Risposte (1)

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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by