final = decimal;
figure('Name','Final EMBEDED Image'),imshow(final);
[image path] = uiputfile({'*.jpg';'*.bmp';'*.tif'},'Save Encoded File As');
final is the altered image. I have to store that image by giving the path and name of the image dynamically. for this i have tried uiputfile. the function is working but not serving the purpose.