how to close a particular figure file
i used the below figure file…..
figure(6), set(gcf, 'Name','Selected Image','numbertitle','off'); imshow(inputImage);
now the second time i execute if that figure file exists i want to delete only that particular figure file… i did as below…
if exist('Selected Image', 'file') close 'Selected Image' end
no error is showing nor it is getting deleted….. how to write the syntax… please do reply…..
Best Answer