This error occurs when the number of output variables on the left-hand side of the equal sign does not match the number of outputs generated on the right-hand side of the equal sign during variable assignment.
To resolve this, make sure the number of output variables on the left-hand side of the equal sign matches the number of generated variables on the right-hand side of the equal sign.
Example:
main.m108 chars3 lines
To fix the error mentioned in the example above, you can simply change the line to:
main.m17 chars2 lines
gistlibby LogSnag