Hello, I am attempting to rotate an image in Matlab GUI using a slider. I tried to follow the directions given in the stack exchange website but I get an error when implementing their process of..."In the figure's xxxx_OpeningFcn function, read and store the image in the handles structure, then show it:"
handles.I = imread('cameraman.tif');
imshow(I, 'Parent',findobj(hObject,'Tag','imgAxis'))
guidata(hObject, handles);
I named my slider 'steer' and my axes 'steering'. Can you direct me as to how to proceed to get the image to rotate. I have included my fig files etc. Please let me know what I need to correct in the code to get the image to load properly and then rotate it. Thanks.