user input

2 次查看(过去 30 天)
maha sandhya
maha sandhya 2012-2-22
回答: Abhinav 2023-1-17
how to get input image from user in matlab?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by