MATLAB: Code to select a jpg image from a folder in matlab

select jpg image

code to select a jpg image from a folder in matlab

Best Answer

Use the folloswing code for selecting the jpg image from a folder
[filename pathname] = uigetfile({'*.jpg';'*.bmp'},'Select MRI'); inputimage=strcat(pathname, filename);