images and main source file in matlab