MATLAB: Error using msgbox

image processing

I have a code
if Sparse_Conc_Index>=1
---------
---------
---------
Class_Image = (Image_Path);
figure,imshow(Class_Image)
else
msgbox('Invalid Image ','ALERT')
end
my Sparse_Conc_Index value is 1.000,but that if loo pis not executing,only that msgbox is displaying,please help where i had made mistake
Related Question