i am doing small matlab
code where have to open a directory and then select image from there , the selected image has to be stored in a variable I i have loaded directory using
[mat, dirc] = uigetfile('*.png', 'Select a file');
image is loaded loaded in matlab like this
i want "selected image to be saved in a variable".
Please help me to do it .