read image in matlab r2017b code example Example: matlab read image % Reads image im = imread('image.jpg'); % Displays image image(invert)