mdlRaster_fileInfoGet(&rasterFileInfo,rasterHandle); if(rasterFileInfo.fileSize == 0){ printf("Could not find %s\n",rasterImage); }
Hello,
I tried to validate file size by adding these few lines and it seems to be good enough for identifying if the file exists or not.
Regards,
Mohammad