I am trying to use the feedback function in matlab and for the most part I understand it. But I came across this syntax:
[x1 x2] = feedback(sys1, sys2, 1, 1, -1);
I have a vague idea of what this is doing but could someone explain this to me. Right now I understand that the sys1, sys2, 1 part represents a system like so:

But I don't understand what the extra ..1, -1); are doing and why it's outputing to x1 and x2.
Can you explain what you don't understand? I think this documentation is really clear...
You can read it at http://mathworks.com/help/control/ref/feedback.html or by using
help feedbackSo as an example M1 is a MIMO system, with two inputs (v,u) and outputs (z,y) and M2 is a SISO system, then with
feedback(M1,M2,1,1,-1);, you will getwith
feedback(M1,M2,2,2,-1);, you will getwith
feedback(M1,M2,1,2,-1);, you will getwith
feedback(M1,M2,2,1,-1);, you will get