Page 1 of 1
Insufficient number of outputs from right hand side of equal sign to satisfy assignment
Posted: Thu Feb 09, 2017 12:49 pm
by matlab1
Insufficient number of outputs from right hand side of equal sign to satisfy assignment
Re: Insufficient number of outputs from right hand side of equal sign to satisfy assignment
Posted: Fri Apr 12, 2019 6:27 am
by matlab1
This error can happen on many occasions. For example :
Suppose we have the following function :
[a,c,d]= myFun(x,y)
This function has three output that the user must specify when calling this function.
now, if the user use the following command by mistake,
[a,k]=myFun(6,11)
MATLAB will produce an error which means the number of outputs from the right-hand side of the equal sign does not satisfy the assignment.