However, an error message is obtained at the console for the command
plot(t,y) saying that the dimensions of one of the plot arrays are not
You have a 6 input, 2 output system, so y is a 3 dimensional array, with the first dimension being the same as the length of t, the second dimension 2 and the third dimension 6. So if you want to plot one of the outputs, it would be:
Note that step will plot all of the step responses if you call it with no output arguments. So if you had just done
you would have seen all of the responses.
Another note, you are creating t with linspace, but not passing it to step, so step will decide on its own time scale. If you want to use your own time scale, pass it to step: