[S1,S2,x,y,w,h,width,height,area,best,worst,temp]=simulatedannealing(seq1,seq2,T0,A,B,Mt,MAXTIME,x,y,w,h,width,height,oldarea,N,M);
thats a simulatedannealing function that i am calling from my main function called sequencepair
and then my called function
function [S1,S2,x,y,w,h,width,height,area,bestarea,worstarea,temp]=simulatedannealing(seq10,seq20,T0,A,B,Mt,MAXTIME,x,y,w,h,width,height,area,N,M)
and i am also calling a metropolis function from this simulated annealing function.
[S1,S2,x,y,w,h,width,height,area,best,worst,temp]=metropolis(S1,S2,T,Mt,x,y,w,h,width,height,area,N,M);
And my called function
function [S1,S2,x,y,w,h,width,height,area,best,worst,temp]=metropolis(S1,S2,T,Mt,x,y,w,h,width,height,oldarea,N,M)
This is what i have done.
I am getting this error
??? One or more output arguments not assigned during call to 'C:\MATLAB701\work\metropolis.m (metropolis)'.
Error in ==> simulatedannealing at 9
[S1,S2,x,y,w,h,width,height,area,best,worst,temp]=metropolis(S1,S2,T,Mt,x,y,w,h,width,height,area,N,M);
Error in ==> sequenepair at 19
[S1,S2,x,y,w,h,width,height,area,best,worst,temp]=simulatedannealing(seq1,seq2,T0,A,B,Mt,MAXTIME,x,y,w,h,width,height,oldarea,N,M);
everything seems right for me , i am not able to figure out whats wrong , can anyone helpme with this