MATLAB: How to divide images into square grid in matlab

Image Processing Toolboxmatlab function

Color images divide in sub parts individual but looking like single image to users. it will possible in matlab?
Basically the image is divided into parts called grids, and each grid will working individual, is this possible?