MATLAB: Getting error when used ginput ginput Following error is getting: Error using int32 Too many output arguments. Error in bound_box_25_11 (line 42) [column, row] = int32(ginput(1)); Best Answer [row,column]=ginput(1) Related SolutionsMATLAB: Ginput yes now it works fine but it wants from me always mouse click I only want the my twelve points by clicking..Thank you for your answer. MATLAB: Ginput d=zeros(408,544,160);image = rand(size(d));for i=1:160 figure,imshow(image(:,:,i),[]); [a,b]=ginput(1); a = round(a); b = round(b); z=image(a,b,i);d(a,b,i)=z;endYou have to round the points returned from ginput to account for floating points. I would also recommend against opening a new figure on each iteration. Related QuestionSpectrogram and ginputColor of “ginput”Simulink error when using ginput on separate scriptHow to end ginputGinput with output questionGinput and plot data
Best Answer