function[p1,p2,p3,p4,p5]=objectDetections(handles,image,x,y,par1,par2,method)
if method==1
//perform method 1 - requires inputs handles,image,x,y
// returns p1,p2
elseif method==2
//perform method 2 - handles,image,x,y, par1
//returns p1,p3
elseif method==3
//perform method 3 - handles,image,x,y, par1, par2
//returns p1,p2,p3,p4,p5
end
1 Comment
Stephen Cobeldick (view profile)
Direct link to this comment:
https://de.mathworks.com/matlabcentral/answers/355829-various-inputs-and-outputs-in-functions#comment_483012
Sign in to comment.